CSS named colour
Dark Orchid
#9932cc
A CSS named colour: darkorchid is valid anywhere a colour is expected.
- RGB
- rgb(153 50 204)
- HSL
- 280°, 61%, 50%
- OKLCh
- 54.1% 0.227 311.5
Dark Orchid in every format
Web & CSSThe everyday formats for stylesheets and design tools.
| Hex | #9932cc | |
|---|---|---|
| RGB | rgb(153 50 204) | |
| RGB legacy | rgb(153, 50, 204) | |
| RGB percent | rgb(60% 19.61% 80%) | |
| HSL | hsl(280.1 60.6% 49.8%) | |
| HSL legacy | hsl(280.1, 60.6%, 49.8%) | |
| HSV / HSB | hsv(280.1, 75.5%, 80%) | |
| HWB | hwb(280.1 19.6% 20%) | |
| Nearest name | darkorchid | |
| CMYK | cmyk(25%, 75.5%, 0%, 20%)Naive conversion. Real print work needs an ICC profile. |
Perceptual & wide gamutModern CSS colour spaces for uniform scales and P3 displays.
| OKLCh | oklch(54.111% 0.22724 311.509)Modern CSS colour space for even palettes — better than HSL when building scales. | |
|---|---|---|
| OKLab | oklab(54.111% 0.1506 -0.17017) | |
| CIE LCh | lch(42.815% 85.253 314.676) | |
| CIE Lab | lab(42.815% 59.941 -60.623) | |
| Display P3 | color(display-p3 0.5542 0.2249 0.7721) | |
| Rec. 2020 | color(rec2020 0.4753 0.2064 0.7399) | |
| srgb-linear | color(srgb-linear 0.3185 0.0319 0.6038)Light-linear sRGB — the same numbers a shader wants for maths. | |
| CIE XYZ (D65) | color(xyz-d65 0.2518 0.1341 0.5839) |
ShadersGLSL, HLSL and WGSL vectors in both encoded and linear form.
| GLSL vec3 — sRGB | vec3(0.6, 0.196, 0.8)Encoded values. Use when writing straight to the framebuffer. | |
|---|---|---|
| GLSL vec3 — linear | vec3(0.319, 0.032, 0.604)Light-linear values. Use for lighting, blending and mixing. | |
| GLSL vec4 — sRGB | vec4(0.6, 0.196, 0.8, 1.0) | |
| GLSL vec4 — linear | vec4(0.319, 0.032, 0.604, 1.0) | |
| GLSL ivec3 | ivec3(153, 50, 204) | |
| HLSL float3 — sRGB | float3(0.6, 0.196, 0.8) | |
| HLSL float3 — linear | float3(0.319, 0.032, 0.604) | |
| HLSL float4 — sRGB | float4(0.6, 0.196, 0.8, 1.0) | |
| HLSL half4 — sRGB | half4(0.6, 0.196, 0.8, 1.0) | |
| WGSL vec3f — sRGB | vec3f(0.6, 0.196, 0.8) | |
| WGSL vec4f — sRGB | vec4f(0.6, 0.196, 0.8, 1.0) | |
| WGSL vec3<f32> — linear | vec3<f32>(0.319, 0.032, 0.604) |
Engines & appsConstructors for Unity, Unreal, Godot, Flutter, SwiftUI and Android.
| Unity Color | new Color(0.6f, 0.196f, 0.8f, 1.0f)Color for everyday scripting (0–1). Color32 when you need whole numbers from 0 to 255. | |
|---|---|---|
| Unity Color32 | new Color32(153, 50, 204, 255) | |
| Unreal FLinearColor | FLinearColor(0.3185f, 0.0319f, 0.6038f, 1.0f)FLinearColor for materials and lighting. FColor when you need whole numbers from 0 to 255. | |
| Unreal FColor | FColor(153, 50, 204, 255)Whole numbers from 0 to 255 — use when an API asks for FColor, not FLinearColor. | |
| Godot Color | Color(0.6, 0.196, 0.8, 1) | |
| Flutter Color | Color(0xFF9932CC)Packed ARGB, so alpha comes first. | |
| Android Color | Color.rgb(153, 50, 204) | |
| SwiftUI Color | Color(red: 0.6, green: 0.196, blue: 0.8) | |
| UIKit UIColor | UIColor(red: 0.6, green: 0.196, blue: 0.8, alpha: 1) |
Raw valuesPacked integers and plain arrays.
| 0x hex | 0x9932CC | |
|---|---|---|
| 0x hex (ARGB) | 0xFF9932CC | |
| Array 0–1 | [0.6, 0.196, 0.8] | |
| Array 0–255 | [153, 50, 204] | |
| Decimal integer | 10040012 |
Contrast and accessibility
WCAG 2 ratios are what audits and legislation reference. APCA is shown alongside because WCAG 2 is known to misjudge mid-tone backgrounds, and it is the basis of the WCAG 3 draft.
| Pairing | WCAG 2 ratio | Level | APCA | Suitable for |
|---|---|---|---|---|
| Dark Orchid on white | 5.70:1 | AA | Lc 77 | Body text, 18px and up |
| Dark Orchid on black | 3.68:1 | AA Large | Lc 24 | Not usable for text |
Dark Orchid text on a white background
Dark Orchid text on a black background
White text on Dark Orchid
Black text on Dark Orchid
Tonal scale
Hue held fixed while lightness walks OKLCh, ready to use as a design system ramp.
- 50#fff0ff
- 100#fce2ff
- 200#f2caff
- 300#e6a8ff
- 400#d678ff
- 500#b754ed
- 600#9b39cc
- 700#8021ad
- 800#690891
- 900#550079
- 950#34004e
Tints and shades
Mixed perceptually toward white and black, so the steps feel evenly spaced.
- Tint 1#aa5cd7
- Tint 2#bb7fe0
- Tint 3#cc9fe9
- Tint 4#ddbff2
- Tint 5#eedff9
- Shade 1#7725a0
- Shade 2#571975
- Shade 3#380d4e
- Shade 4#1c0429
- Shade 5#050009
Colours that work with Dark Orchid
Complementary, triadic and analogous partners, rotated in OKLCh so they keep the same apparent brightness.
- #478100
- #9e5e00
- #00837f
- #624dec
- #bd0f94
Closest CSS names
darkorchidexact matchdarkvioletΔEok 0.043bluevioletΔEok 0.049mediumorchidΔEok 0.093slateblueΔEok 0.105darkmagentaΔEok 0.116