#39287A#39287A

#39287A is a dark, vivid violet. Relative luminance 0.038; OKLCH L 34.9% C 0.133 H 286.9°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#39287A
RGBrgb(57, 40, 122)
HSLhsl(252, 51%, 32%)
HSVhsv(252, 67%, 48%)
CMYKcmyk(53.3%, 67.2%, 0%, 52.2%)
CIE-LABlab(22.97, 30.64, -44.23)
CIE-LCHlch(22.97, 53.80, 304.71°)
OKLaboklab(34.91% 0.0386 -0.1268)
OKLCHoklch(34.91% 0.133 286.9)
XYZxyz(5.9580, 3.7923, 18.8266)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39287A #697A28
analogous
#28407A #39287A #62287A
triadic
#39287A #7A3928 #287A39
tetradic
#39287A #7A2840 #697A28 #287A62
square
#39287A #7A2840 #697A28 #287A62
split-complementary
#39287A #7A6228 #407A28
monochromatic
#0E0A1E #23194C #39287A #4F37A8 #6D55C7

Accessibility & contrast

On white

11.94
#39287A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#39287A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39287A
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39287A#FFFFFF#000000##FFFFFF
##39287A1.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397D
Deuteranopia (green-blind)
#003478
Tritanopia (blue-blind)
#213C4D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #39287a;
/* rgb */ color: rgb(57, 40, 122);
/* oklch */ color: oklch(34.9% 0.133 286.9);
Tailwind
colors: {
  custom: {
    50: '#7663a1',
    500: '#39287a',
    950: '#000000',
  },
}
SCSS
$custom: #39287a;
$custom-light: #7663a1;
$custom-dark: #000000;
JSON
{
  "hex": "#39287a",
  "rgb": {
    "r": 57,
    "g": 40,
    "b": 122
  },
  "hsl": {
    "h": 252.439,
    "s": 50.617,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34905,
    "c": 0.13258,
    "h": 286.9
  },
  "luminance": 0.03793
}

Semantic roles & 50–950 ramp

primary
#39287A
secondary
#99AC52
accent
#DA4EBD
background
#F7F5FA
surface
#EDEAF3
border
#C8C6CD
text
#09050F
muted
#7B797F

Preview Lab

Preview with #39287A

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

Preview Lab → · Contrast checker → · Palette generator →

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