#39236C#39236C

#39236C is a dark, vivid violet. Relative luminance 0.032; OKLCH L 32.9% C 0.121 H 292.3°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#39236C
RGBrgb(57, 35, 108)
HSLhsl(258, 51%, 28%)
HSVhsv(258, 68%, 42%)
CMYKcmyk(47.2%, 67.6%, 0%, 57.6%)
CIE-LABlab(20.65, 29.29, -39.01)
CIE-LCHlch(20.65, 48.78, 306.90°)
OKLaboklab(32.86% 0.0458 -0.1115)
OKLCHoklch(32.86% 0.121 292.3)
XYZxyz(4.9944, 3.1545, 14.5302)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39236C #566C23
analogous
#23316C #39236C #5D236C
triadic
#39236C #6C3923 #236C39
tetradic
#39236C #6C2331 #566C23 #236C5D
square
#39236C #6C2331 #566C23 #236C5D
split-complementary
#39236C #6C5D23 #316C23
monochromatic
#0C0717 #21143E #39236C #51329A #6C46C3

Accessibility & contrast

On white

12.88
#39236C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39236C
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39236C#FFFFFF#000000##FFFFFF
##39236C1.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336E
Deuteranopia (green-blind)
#00306A
Tritanopia (blue-blind)
#2A3444
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #39236c;
/* rgb */ color: rgb(57, 35, 108);
/* oklch */ color: oklch(32.9% 0.121 292.3);
Tailwind
colors: {
  custom: {
    50: '#745f97',
    500: '#39236c',
    950: '#000000',
  },
}
SCSS
$custom: #39236c;
$custom-light: #745f97;
$custom-dark: #000000;
JSON
{
  "hex": "#39236c",
  "rgb": {
    "r": 57,
    "g": 35,
    "b": 108
  },
  "hsl": {
    "h": 258.082,
    "s": 51.049,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32857,
    "c": 0.12056,
    "h": 292.3
  },
  "luminance": 0.03155
}

Semantic roles & 50–950 ramp

primary
#39236C
secondary
#869F4B
accent
#DB4DB0
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040D
muted
#7B797E

Preview Lab

Preview with #39236C

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

Preview Lab → · Contrast checker → · Palette generator →

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