#39237B#39237B

#39237B is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.2% C 0.141 H 288.1°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#39237B
RGBrgb(57, 35, 123)
HSLhsl(255, 56%, 31%)
HSVhsv(255, 72%, 48%)
CMYKcmyk(53.7%, 71.5%, 0%, 51.8%)
CIE-LABlab(21.95, 33.97, -46.53)
CIE-LCHlch(21.95, 57.61, 306.13°)
OKLaboklab(34.2% 0.0436 -0.1336)
OKLCHoklch(34.2% 0.141 288.1)
XYZxyz(5.8625, 3.5017, 19.1020)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39237B #657B23
analogous
#23397B #39237B #65237B
triadic
#39237B #7B3923 #237B39
tetradic
#39237B #7B2339 #657B23 #237B65
square
#39237B #7B2339 #657B23 #237B65
split-complementary
#39237B #7B6523 #397B23
monochromatic
#0D081C #23154B #39237B #4F31AB #6C4CCC

Accessibility & contrast

On white

12.35
#39237B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#39237B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39237B
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39237B#FFFFFF#000000##FFFFFF
##39237B1.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377E
Deuteranopia (green-blind)
#003279
Tritanopia (blue-blind)
#203A4C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #39237b;
/* rgb */ color: rgb(57, 35, 123);
/* oklch */ color: oklch(34.2% 0.141 288.1);
Tailwind
colors: {
  custom: {
    50: '#7760a2',
    500: '#39237b',
    950: '#000000',
  },
}
SCSS
$custom: #39237b;
$custom-light: #7760a2;
$custom-dark: #000000;
JSON
{
  "hex": "#39237b",
  "rgb": {
    "r": 57,
    "g": 35,
    "b": 123
  },
  "hsl": {
    "h": 255,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.34196,
    "c": 0.14053,
    "h": 288.1
  },
  "luminance": 0.03502
}

Semantic roles & 50–950 ramp

primary
#39237B
secondary
#95AE4C
accent
#DF49B9
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #39237B

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

Preview Lab → · Contrast checker → · Palette generator →

#39237B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva