#39236B#39236B

#39236B is a dark, moderate violet. Relative luminance 0.031; OKLCH L 32.8% C 0.119 H 292.7°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#39236B
RGBrgb(57, 35, 107)
HSLhsl(258, 51%, 28%)
HSVhsv(258, 67%, 42%)
CMYKcmyk(46.7%, 67.3%, 0%, 58%)
CIE-LABlab(20.57, 28.98, -38.49)
CIE-LCHlch(20.57, 48.19, 306.98°)
OKLaboklab(32.77% 0.0459 -0.11)
OKLCHoklch(32.77% 0.119 292.7)
XYZxyz(4.9415, 3.1333, 14.2515)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39236B #556B23
analogous
#23316B #39236B #5D236B
triadic
#39236B #6B3923 #236B39
tetradic
#39236B #6B2331 #556B23 #236B5D
square
#39236B #6B2331 #556B23 #236B5D
split-complementary
#39236B #6B5D23 #316B23
monochromatic
#0C0817 #20143D #39236B #523299 #6C46C2

Accessibility & contrast

On white

12.91
#39236B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#39236B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39236B
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39236B#FFFFFF#000000##FFFFFF
##39236B1.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326D
Deuteranopia (green-blind)
#003069
Tritanopia (blue-blind)
#2B3443
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #39236b;
/* rgb */ color: rgb(57, 35, 107);
/* oklch */ color: oklch(32.8% 0.119 292.7);
Tailwind
colors: {
  custom: {
    50: '#745f96',
    500: '#39236b',
    950: '#000000',
  },
}
SCSS
$custom: #39236b;
$custom-light: #745f96;
$custom-dark: #000000;
JSON
{
  "hex": "#39236b",
  "rgb": {
    "r": 57,
    "g": 35,
    "b": 107
  },
  "hsl": {
    "h": 258.333,
    "s": 50.704,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32772,
    "c": 0.1192,
    "h": 292.7
  },
  "luminance": 0.03133
}

Semantic roles & 50–950 ramp

primary
#39236B
secondary
#859E4B
accent
#DA4EAF
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040D
muted
#7B797E

Preview Lab

Preview with #39236B

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

Preview Lab → · Contrast checker → · Palette generator →

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