#39237E#39237E

#39237E is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.5% C 0.144 H 287.3°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#39237E
RGBrgb(57, 35, 126)
HSLhsl(255, 57%, 32%)
HSVhsv(255, 72%, 49%)
CMYKcmyk(54.8%, 72.2%, 0%, 50.6%)
CIE-LABlab(22.22, 34.91, -47.99)
CIE-LCHlch(22.22, 59.34, 306.04°)
OKLaboklab(34.48% 0.043 -0.1379)
OKLCHoklch(34.48% 0.144 287.3)
XYZxyz(6.0532, 3.5780, 20.1063)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39237E #687E23
analogous
#233B7E #39237E #67237E
triadic
#39237E #7E3923 #237E39
tetradic
#39237E #7E233B #687E23 #237E67
square
#39237E #7E233B #687E23 #237E67
split-complementary
#39237E #7E6723 #3B7E23
monochromatic
#0E081E #23164E #39237E #4F30AE #6D4ECE

Accessibility & contrast

On white

12.24
#39237E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#39237E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39237E
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39237E#FFFFFF#000000##FFFFFF
##39237E1.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003781
Deuteranopia (green-blind)
#00337C
Tritanopia (blue-blind)
#1E3B4E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #39237e;
/* rgb */ color: rgb(57, 35, 126);
/* oklch */ color: oklch(34.5% 0.144 287.3);
Tailwind
colors: {
  custom: {
    50: '#7760a4',
    500: '#39237e',
    950: '#000000',
  },
}
SCSS
$custom: #39237e;
$custom-light: #7760a4;
$custom-dark: #000000;
JSON
{
  "hex": "#39237e",
  "rgb": {
    "r": 57,
    "g": 35,
    "b": 126
  },
  "hsl": {
    "h": 254.505,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.34476,
    "c": 0.14444,
    "h": 287.3
  },
  "luminance": 0.03578
}

Semantic roles & 50–950 ramp

primary
#39237E
secondary
#98B04C
accent
#E048BB
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #39237E

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

Preview Lab → · Contrast checker → · Palette generator →

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