#39287D#39287D

#39287D is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.2% C 0.137 H 286.2°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#39287D
RGBrgb(57, 40, 125)
HSLhsl(252, 52%, 32%)
HSVhsv(252, 68%, 49%)
CMYKcmyk(54.4%, 68%, 0%, 51%)
CIE-LABlab(23.23, 31.60, -45.71)
CIE-LCHlch(23.23, 55.57, 304.66°)
OKLaboklab(35.17% 0.0382 -0.1312)
OKLCHoklch(35.17% 0.137 286.2)
XYZxyz(6.1467, 3.8678, 19.8207)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39287D #6C7D28
analogous
#28427D #39287D #64287D
triadic
#39287D #7D3928 #287D39
tetradic
#39287D #7D2842 #6C7D28 #287D64
square
#39287D #7D2842 #6C7D28 #287D64
split-complementary
#39287D #7D6428 #427D28
monochromatic
#0F0A20 #24194F #39287D #4E37AB #6D56C9

Accessibility & contrast

On white

11.84
#39287D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#39287D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39287D
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39287D#FFFFFF#000000##FFFFFF
##39287D1.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A80
Deuteranopia (green-blind)
#00357B
Tritanopia (blue-blind)
#1E3D4F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #39287d;
/* rgb */ color: rgb(57, 40, 125);
/* oklch */ color: oklch(35.2% 0.137 286.2);
Tailwind
colors: {
  custom: {
    50: '#7663a3',
    500: '#39287d',
    950: '#000000',
  },
}
SCSS
$custom: #39287d;
$custom-light: #7663a3;
$custom-dark: #000000;
JSON
{
  "hex": "#39287d",
  "rgb": {
    "r": 57,
    "g": 40,
    "b": 125
  },
  "hsl": {
    "h": 252,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.35171,
    "c": 0.13666,
    "h": 286.2
  },
  "luminance": 0.03868
}

Semantic roles & 50–950 ramp

primary
#39287D
secondary
#9CAE53
accent
#DB4DBF
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #39287D

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

Preview Lab → · Contrast checker → · Palette generator →

#39287D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva