#39217A#39217A

#39217A is a dark, vivid violet. Relative luminance 0.034; OKLCH L 33.8% C 0.142 H 288.8°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#39217A
RGBrgb(57, 33, 122)
HSLhsl(256, 57%, 30%)
HSVhsv(256, 73%, 48%)
CMYKcmyk(53.3%, 73%, 0%, 52.2%)
CIE-LABlab(21.44, 34.82, -46.73)
CIE-LCHlch(21.44, 58.27, 306.69°)
OKLaboklab(33.8% 0.0458 -0.1342)
OKLCHoklch(33.8% 0.142 288.8)
XYZxyz(5.7430, 3.3624, 18.7550)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39217A #627A21
analogous
#21357A #39217A #65217A
triadic
#39217A #7A3921 #217A39
tetradic
#39217A #7A2135 #627A21 #217A65
square
#39217A #7A2135 #627A21 #217A65
split-complementary
#39217A #7A6521 #357A21
monochromatic
#0C071A #22144A #39217A #502EAA #6C48CD

Accessibility & contrast

On white

12.56
#39217A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#39217A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39217A
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39217A#FFFFFF#000000##FFFFFF
##39217A1.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357D
Deuteranopia (green-blind)
#003178
Tritanopia (blue-blind)
#21384B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #39217a;
/* rgb */ color: rgb(57, 33, 122);
/* oklch */ color: oklch(33.8% 0.142 288.8);
Tailwind
colors: {
  custom: {
    50: '#775ea1',
    500: '#39217a',
    950: '#000000',
  },
}
SCSS
$custom: #39217a;
$custom-light: #775ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#39217a",
  "rgb": {
    "r": 57,
    "g": 33,
    "b": 122
  },
  "hsl": {
    "h": 256.18,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.33804,
    "c": 0.14177,
    "h": 288.8
  },
  "luminance": 0.03363
}

Semantic roles & 50–950 ramp

primary
#39217A
secondary
#92AD4A
accent
#E147B7
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#09040F
muted
#7B797F

Preview Lab

Preview with #39217A

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

Preview Lab → · Contrast checker → · Palette generator →

#39217A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva