#39207F#39207F

#39207F is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.1% C 0.149 H 287.8°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#39207F
RGBrgb(57, 32, 127)
HSLhsl(256, 60%, 31%)
HSVhsv(256, 75%, 50%)
CMYKcmyk(55.1%, 74.8%, 0%, 50.2%)
CIE-LABlab(21.71, 36.92, -49.47)
CIE-LCHlch(21.71, 61.73, 306.74°)
OKLaboklab(34.14% 0.0456 -0.1422)
OKLCHoklch(34.14% 0.149 287.8)
XYZxyz(6.0335, 3.4349, 20.4196)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39207F #667F20
analogous
#20377F #39207F #68207F
triadic
#39207F #7F3920 #207F39
tetradic
#39207F #7F2037 #667F20 #207F68
square
#39207F #7F2037 #667F20 #207F68
split-complementary
#39207F #7F6820 #377F20
monochromatic
#0D071D #23144E #39207F #4F2CB0 #6C48D1

Accessibility & contrast

On white

12.45
#39207F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#39207F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39207F
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39207F#FFFFFF#000000##FFFFFF
##39207F1.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003682
Deuteranopia (green-blind)
#00317D
Tritanopia (blue-blind)
#1D394D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #39207f;
/* rgb */ color: rgb(57, 32, 127);
/* oklch */ color: oklch(34.1% 0.149 287.8);
Tailwind
colors: {
  custom: {
    50: '#785ea5',
    500: '#39207f',
    950: '#000000',
  },
}
SCSS
$custom: #39207f;
$custom-light: #785ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#39207f",
  "rgb": {
    "r": 57,
    "g": 32,
    "b": 127
  },
  "hsl": {
    "h": 255.789,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.34138,
    "c": 0.14933,
    "h": 287.8
  },
  "luminance": 0.03435
}

Semantic roles & 50–950 ramp

primary
#39207F
secondary
#96B249
accent
#E345B9
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #39207F

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

Preview Lab → · Contrast checker → · Palette generator →

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