#39207C#39207C

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

Color values

HEX#39207C
RGBrgb(57, 32, 124)
HSLhsl(256, 59%, 31%)
HSVhsv(256, 74%, 49%)
CMYKcmyk(54%, 74.2%, 0%, 51.4%)
CIE-LABlab(21.42, 36.00, -48.03)
CIE-LCHlch(21.42, 60.02, 306.86°)
OKLaboklab(33.85% 0.0463 -0.138)
OKLCHoklch(33.85% 0.146 288.5)
XYZxyz(5.8409, 3.3578, 19.4052)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39207C #637C20
analogous
#20357C #39207C #67207C
triadic
#39207C #7C3920 #207C39
tetradic
#39207C #7C2035 #637C20 #207C67
square
#39207C #7C2035 #637C20 #207C67
split-complementary
#39207C #7C6720 #357C20
monochromatic
#0C071B #23134B #39207C #4F2DAD #6C47CF

Accessibility & contrast

On white

12.56
#39207C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#39207C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39207C
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39207C#FFFFFF#000000##FFFFFF
##39207C1.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)
#00357F
Deuteranopia (green-blind)
#00317A
Tritanopia (blue-blind)
#20384C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #39207c;
/* rgb */ color: rgb(57, 32, 124);
/* oklch */ color: oklch(33.8% 0.146 288.5);
Tailwind
colors: {
  custom: {
    50: '#775ea3',
    500: '#39207c',
    950: '#000000',
  },
}
SCSS
$custom: #39207c;
$custom-light: #775ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#39207c",
  "rgb": {
    "r": 57,
    "g": 32,
    "b": 124
  },
  "hsl": {
    "h": 256.304,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.33849,
    "c": 0.14554,
    "h": 288.5
  },
  "luminance": 0.03358
}

Semantic roles & 50–950 ramp

primary
#39207C
secondary
#93AF49
accent
#E246B8
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #39207C

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

Preview Lab → · Contrast checker → · Palette generator →

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