#5D209E#5D209E

#5D209E is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.1% C 0.187 H 299.9°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#5D209E
RGBrgb(93, 32, 158)
HSLhsl(269, 66%, 37%)
HSVhsv(269, 80%, 62%)
CMYKcmyk(41.1%, 79.7%, 0%, 38%)
CIE-LABlab(28.98, 51.27, -56.63)
CIE-LCHlch(28.98, 76.39, 312.16°)
OKLaboklab(41.11% 0.093 -0.1619)
OKLCHoklch(41.11% 0.187 299.9)
XYZxyz(11.2007, 5.8287, 32.8761)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D209E #619E20
analogous
#20229E #5D209E #9C209E
triadic
#5D209E #9E5D20 #209E5D
tetradic
#5D209E #9E2022 #619E20 #209E9C
square
#5D209E #9E2022 #619E20 #209E9C
split-complementary
#5D209E #9E9C20 #229E20
monochromatic
#210B38 #3F166B #5D209E #7B2AD1 #9A5BDE

Accessibility & contrast

On white

9.70
#5D209E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#5D209E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D209E
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D209E#FFFFFF#000000##FFFFFF
##5D209E1.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#00439C
Tritanopia (blue-blind)
#4E435F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5d209e;
/* rgb */ color: rgb(93, 32, 158);
/* oklch */ color: oklch(41.1% 0.187 299.9);
Tailwind
colors: {
  custom: {
    50: '#9263bc',
    500: '#5d209e',
    950: '#000000',
  },
}
SCSS
$custom: #5d209e;
$custom-light: #9263bc;
$custom-dark: #000000;
JSON
{
  "hex": "#5d209e",
  "rgb": {
    "r": 93,
    "g": 32,
    "b": 158
  },
  "hsl": {
    "h": 269.048,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41111,
    "c": 0.18674,
    "h": 299.9
  },
  "luminance": 0.05829
}

Semantic roles & 50–950 ramp

primary
#5D209E
secondary
#8FC258
accent
#E93F97
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #5D209E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#5D209E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva