#39216E#39216E

#39216E is a dark, vivid violet. Relative luminance 0.031; OKLCH L 32.7% C 0.126 H 292.3°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#39216E
RGBrgb(57, 33, 110)
HSLhsl(259, 54%, 28%)
HSVhsv(259, 70%, 43%)
CMYKcmyk(48.2%, 70%, 0%, 56.9%)
CIE-LABlab(20.37, 31.12, -40.76)
CIE-LCHlch(20.37, 51.28, 307.36°)
OKLaboklab(32.71% 0.0479 -0.1166)
OKLCHoklch(32.71% 0.126 292.3)
XYZxyz(5.0449, 3.0832, 15.0781)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39216E #566E21
analogous
#21306E #39216E #5F216E
triadic
#39216E #6E3921 #216E39
tetradic
#39216E #6E2130 #566E21 #216E5F
square
#39216E #6E2130 #566E21 #216E5F
split-complementary
#39216E #6E5F21 #306E21
monochromatic
#0C0718 #21133F #39216E #512F9D #6C43C7

Accessibility & contrast

On white

12.99
#39216E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#39216E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39216E
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39216E#FFFFFF#000000##FFFFFF
##39216E1.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003270
Deuteranopia (green-blind)
#00306C
Tritanopia (blue-blind)
#293444
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #39216e;
/* rgb */ color: rgb(57, 33, 110);
/* oklch */ color: oklch(32.7% 0.126 292.3);
Tailwind
colors: {
  custom: {
    50: '#755e98',
    500: '#39216e',
    950: '#000000',
  },
}
SCSS
$custom: #39216e;
$custom-light: #755e98;
$custom-dark: #000000;
JSON
{
  "hex": "#39216e",
  "rgb": {
    "r": 57,
    "g": 33,
    "b": 110
  },
  "hsl": {
    "h": 258.701,
    "s": 53.846,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32709,
    "c": 0.1261,
    "h": 292.3
  },
  "luminance": 0.03083
}

Semantic roles & 50–950 ramp

primary
#39216E
secondary
#86A249
accent
#DD4BB0
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #39216E

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

Preview Lab → · Contrast checker → · Palette generator →

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