#39207E#39207E

#39207E is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.0% C 0.148 H 288.0°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#39207E
RGBrgb(57, 32, 126)
HSLhsl(256, 59%, 31%)
HSVhsv(256, 75%, 49%)
CMYKcmyk(54.8%, 74.6%, 0%, 50.6%)
CIE-LABlab(21.61, 36.62, -48.99)
CIE-LCHlch(21.61, 61.16, 306.78°)
OKLaboklab(34.04% 0.0458 -0.1408)
OKLCHoklch(34.04% 0.148 288)
XYZxyz(5.9686, 3.4089, 20.0781)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39207E #657E20
analogous
#20367E #39207E #68207E
triadic
#39207E #7E3920 #207E39
tetradic
#39207E #7E2036 #657E20 #207E68
square
#39207E #7E2036 #657E20 #207E68
split-complementary
#39207E #7E6820 #367E20
monochromatic
#0D071C #23144D #39207E #4F2CAF #6C48D0

Accessibility & contrast

On white

12.49
#39207E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#39207E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39207E
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39207E#FFFFFF#000000##FFFFFF
##39207E1.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003681
Deuteranopia (green-blind)
#00317C
Tritanopia (blue-blind)
#1E394D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #39207e;
/* rgb */ color: rgb(57, 32, 126);
/* oklch */ color: oklch(34.0% 0.148 288.0);
Tailwind
colors: {
  custom: {
    50: '#775ea4',
    500: '#39207e',
    950: '#000000',
  },
}
SCSS
$custom: #39207e;
$custom-light: #775ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#39207e",
  "rgb": {
    "r": 57,
    "g": 32,
    "b": 126
  },
  "hsl": {
    "h": 255.957,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.34041,
    "c": 0.14806,
    "h": 288
  },
  "luminance": 0.03409
}

Semantic roles & 50–950 ramp

primary
#39207E
secondary
#95B149
accent
#E345B9
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #39207E

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

Preview Lab → · Contrast checker → · Palette generator →

#39207E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva