#39216B#39216B

#39216B is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.4% C 0.122 H 293.3°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#39216B
RGBrgb(57, 33, 107)
HSLhsl(259, 53%, 27%)
HSVhsv(259, 69%, 42%)
CMYKcmyk(46.7%, 69.2%, 0%, 58%)
CIE-LABlab(20.12, 30.20, -39.23)
CIE-LCHlch(20.12, 49.51, 307.59°)
OKLaboklab(32.45% 0.0483 -0.1121)
OKLCHoklch(32.45% 0.122 293.3)
XYZxyz(4.8843, 3.0190, 14.2324)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39216B #536B21
analogous
#212E6B #39216B #5E216B
triadic
#39216B #6B3921 #216B39
tetradic
#39216B #6B212E #536B21 #216B5E
square
#39216B #6B212E #536B21 #216B5E
split-complementary
#39216B #6B5E21 #2E6B21
monochromatic
#0C0717 #20133C #39216B #522F9A #6C42C5

Accessibility & contrast

On white

13.09
#39216B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#39216B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39216B
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39216B#FFFFFF#000000##FFFFFF
##39216B1.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316D
Deuteranopia (green-blind)
#002F69
Tritanopia (blue-blind)
#2B3343
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #39216b;
/* rgb */ color: rgb(57, 33, 107);
/* oklch */ color: oklch(32.4% 0.122 293.3);
Tailwind
colors: {
  custom: {
    50: '#745e96',
    500: '#39216b',
    950: '#000000',
  },
}
SCSS
$custom: #39216b;
$custom-light: #745e96;
$custom-dark: #000000;
JSON
{
  "hex": "#39216b",
  "rgb": {
    "r": 57,
    "g": 33,
    "b": 107
  },
  "hsl": {
    "h": 259.459,
    "s": 52.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.32446,
    "c": 0.1221,
    "h": 293.3
  },
  "luminance": 0.03019
}

Semantic roles & 50–950 ramp

primary
#39216B
secondary
#839F49
accent
#DC4CAD
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040D
muted
#7B797E

Preview Lab

Preview with #39216B

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

Preview Lab → · Contrast checker → · Palette generator →

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