#39209D#39209D

#39209D is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.2% C 0.186 H 281.6°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#39209D
RGBrgb(57, 32, 157)
HSLhsl(252, 66%, 37%)
HSVhsv(252, 80%, 62%)
CMYKcmyk(63.7%, 79.6%, 0%, 38.4%)
CIE-LABlab(24.75, 46.05, -63.11)
CIE-LCHlch(24.75, 78.13, 306.12°)
OKLaboklab(37.2% 0.0374 -0.1821)
OKLCHoklch(37.2% 0.186 281.6)
XYZxyz(8.2877, 4.3366, 32.2921)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39209D #849D20
analogous
#20469D #39209D #78209D
triadic
#39209D #9D3920 #209D39
tetradic
#39209D #9D2046 #849D20 #209D78
square
#39209D #9D2046 #849D20 #209D78
split-complementary
#39209D #9D7820 #469D20
monochromatic
#140B37 #27166A #39209D #4B2AD0 #745ADD

Accessibility & contrast

On white

11.25
#39209D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#39209D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39209D
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39209D#FFFFFF#000000##FFFFFF
##39209D1.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA0
Deuteranopia (green-blind)
#00369B
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #39209d;
/* rgb */ color: rgb(57, 32, 157);
/* oklch */ color: oklch(37.2% 0.186 281.6);
Tailwind
colors: {
  custom: {
    50: '#7d60bb',
    500: '#39209d',
    950: '#000000',
  },
}
SCSS
$custom: #39209d;
$custom-light: #7d60bb;
$custom-dark: #000000;
JSON
{
  "hex": "#39209d",
  "rgb": {
    "r": 57,
    "g": 32,
    "b": 157
  },
  "hsl": {
    "h": 252,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37195,
    "c": 0.18588,
    "h": 281.6
  },
  "luminance": 0.04337
}

Semantic roles & 50–950 ramp

primary
#39209D
secondary
#ACC157
accent
#E93FC7
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #39209D

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

Preview Lab → · Contrast checker → · Palette generator →

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