#39287E#39287E

#39287E is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.3% C 0.138 H 286.0°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#39287E
RGBrgb(57, 40, 126)
HSLhsl(252, 52%, 33%)
HSVhsv(252, 68%, 49%)
CMYKcmyk(54.8%, 68.3%, 0%, 50.6%)
CIE-LABlab(23.32, 31.93, -46.20)
CIE-LCHlch(23.32, 56.16, 304.64°)
OKLaboklab(35.26% 0.0381 -0.1326)
OKLCHoklch(35.26% 0.138 286)
XYZxyz(6.2109, 3.8935, 20.1589)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39287E #6D7E28
analogous
#28427E #39287E #64287E
triadic
#39287E #7E3928 #287E39
tetradic
#39287E #7E2842 #6D7E28 #287E64
square
#39287E #7E2842 #6D7E28 #287E64
split-complementary
#39287E #7E6428 #427E28
monochromatic
#0F0B21 #241950 #39287E #4E37AC #6D57CA

Accessibility & contrast

On white

11.81
#39287E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#39287E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39287E
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39287E#FFFFFF#000000##FFFFFF
##39287E1.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A81
Deuteranopia (green-blind)
#00357C
Tritanopia (blue-blind)
#1D3D4F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #39287e;
/* rgb */ color: rgb(57, 40, 126);
/* oklch */ color: oklch(35.3% 0.138 286.0);
Tailwind
colors: {
  custom: {
    50: '#7763a4',
    500: '#39287e',
    950: '#000000',
  },
}
SCSS
$custom: #39287e;
$custom-light: #7763a4;
$custom-dark: #000000;
JSON
{
  "hex": "#39287e",
  "rgb": {
    "r": 57,
    "g": 40,
    "b": 126
  },
  "hsl": {
    "h": 251.86,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.3526,
    "c": 0.138,
    "h": 286
  },
  "luminance": 0.03894
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #39287E

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

Preview Lab → · Contrast checker → · Palette generator →

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