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

Open in the picker

Dark Orchid in every format

Web & CSSThe everyday formats for stylesheets and design tools.

Hex#9932cc
RGBrgb(153 50 204)
RGB legacyrgb(153, 50, 204)
RGB percentrgb(60% 19.61% 80%)
HSLhsl(280.1 60.6% 49.8%)
HSL legacyhsl(280.1, 60.6%, 49.8%)
HSV / HSBhsv(280.1, 75.5%, 80%)
HWBhwb(280.1 19.6% 20%)
Nearest namedarkorchid
CMYKcmyk(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.

OKLChoklch(54.111% 0.22724 311.509)Modern CSS colour space for even palettes — better than HSL when building scales.
OKLaboklab(54.111% 0.1506 -0.17017)
CIE LChlch(42.815% 85.253 314.676)
CIE Lablab(42.815% 59.941 -60.623)
Display P3color(display-p3 0.5542 0.2249 0.7721)
Rec. 2020color(rec2020 0.4753 0.2064 0.7399)
srgb-linearcolor(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 — sRGBvec3(0.6, 0.196, 0.8)Encoded values. Use when writing straight to the framebuffer.
GLSL vec3 — linearvec3(0.319, 0.032, 0.604)Light-linear values. Use for lighting, blending and mixing.
GLSL vec4 — sRGBvec4(0.6, 0.196, 0.8, 1.0)
GLSL vec4 — linearvec4(0.319, 0.032, 0.604, 1.0)
GLSL ivec3ivec3(153, 50, 204)
HLSL float3 — sRGBfloat3(0.6, 0.196, 0.8)
HLSL float3 — linearfloat3(0.319, 0.032, 0.604)
HLSL float4 — sRGBfloat4(0.6, 0.196, 0.8, 1.0)
HLSL half4 — sRGBhalf4(0.6, 0.196, 0.8, 1.0)
WGSL vec3f — sRGBvec3f(0.6, 0.196, 0.8)
WGSL vec4f — sRGBvec4f(0.6, 0.196, 0.8, 1.0)
WGSL vec3<f32> — linearvec3<f32>(0.319, 0.032, 0.604)

Engines & appsConstructors for Unity, Unreal, Godot, Flutter, SwiftUI and Android.

Unity Colornew 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 Color32new Color32(153, 50, 204, 255)
Unreal FLinearColorFLinearColor(0.3185f, 0.0319f, 0.6038f, 1.0f)FLinearColor for materials and lighting. FColor when you need whole numbers from 0 to 255.
Unreal FColorFColor(153, 50, 204, 255)Whole numbers from 0 to 255 — use when an API asks for FColor, not FLinearColor.
Godot ColorColor(0.6, 0.196, 0.8, 1)
Flutter ColorColor(0xFF9932CC)Packed ARGB, so alpha comes first.
Android ColorColor.rgb(153, 50, 204)
SwiftUI ColorColor(red: 0.6, green: 0.196, blue: 0.8)
UIKit UIColorUIColor(red: 0.6, green: 0.196, blue: 0.8, alpha: 1)

Raw valuesPacked integers and plain arrays.

0x hex0x9932CC
0x hex (ARGB)0xFF9932CC
Array 0–1[0.6, 0.196, 0.8]
Array 0–255[153, 50, 204]
Decimal integer10040012

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.

PairingWCAG 2 ratioLevelAPCASuitable for
Dark Orchid on white5.70:1AALc 77Body text, 18px and up
Dark Orchid on black3.68:1AA LargeLc 24Not 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 match
  • darkvioletΔEok 0.043
  • bluevioletΔEok 0.049
  • mediumorchidΔEok 0.093
  • slateblueΔEok 0.105
  • darkmagentaΔEok 0.116