#39237A#39237A

#39237A is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.1% C 0.139 H 288.3°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#39237A
RGBrgb(57, 35, 122)
HSLhsl(255, 55%, 31%)
HSVhsv(255, 71%, 48%)
CMYKcmyk(53.3%, 71.3%, 0%, 52.2%)
CIE-LABlab(21.86, 33.66, -46.04)
CIE-LCHlch(21.86, 57.03, 306.17°)
OKLaboklab(34.1% 0.0438 -0.1322)
OKLCHoklch(34.1% 0.139 288.3)
XYZxyz(5.8002, 3.4768, 18.7740)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39237A #647A23
analogous
#23397A #39237A #64237A
triadic
#39237A #7A3923 #237A39
tetradic
#39237A #7A2339 #647A23 #237A64
square
#39237A #7A2339 #647A23 #237A64
split-complementary
#39237A #7A6423 #397A23
monochromatic
#0D081B #23154A #39237A #4F31AA #6C4CCC

Accessibility & contrast

On white

12.39
#39237A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39237A
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39237A#FFFFFF#000000##FFFFFF
##39237A1.0012.391.7012.39
#FFFFFF12.391.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367D
Deuteranopia (green-blind)
#003278
Tritanopia (blue-blind)
#21394B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #39237a;
/* rgb */ color: rgb(57, 35, 122);
/* oklch */ color: oklch(34.1% 0.139 288.3);
Tailwind
colors: {
  custom: {
    50: '#7660a1',
    500: '#39237a',
    950: '#000000',
  },
}
SCSS
$custom: #39237a;
$custom-light: #7660a1;
$custom-dark: #000000;
JSON
{
  "hex": "#39237a",
  "rgb": {
    "r": 57,
    "g": 35,
    "b": 122
  },
  "hsl": {
    "h": 255.172,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34104,
    "c": 0.13923,
    "h": 288.3
  },
  "luminance": 0.03477
}

Semantic roles & 50–950 ramp

primary
#39237A
secondary
#94AD4C
accent
#DF49B9
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#09050F
muted
#7B797F

Preview Lab

Preview with #39237A

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

Preview Lab → · Contrast checker → · Palette generator →

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