#39216F#39216F

#39216F is a dark, vivid violet. Relative luminance 0.031; OKLCH L 32.8% C 0.127 H 292.0°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#39216F
RGBrgb(57, 33, 111)
HSLhsl(258, 54%, 28%)
HSVhsv(258, 70%, 44%)
CMYKcmyk(48.6%, 70.3%, 0%, 56.5%)
CIE-LABlab(20.46, 31.43, -41.27)
CIE-LCHlch(20.46, 51.87, 307.29°)
OKLaboklab(32.8% 0.0477 -0.1181)
OKLCHoklch(32.8% 0.127 292)
XYZxyz(5.0996, 3.1051, 15.3665)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39216F #576F21
analogous
#21306F #39216F #60216F
triadic
#39216F #6F3921 #216F39
tetradic
#39216F #6F2130 #576F21 #216F60
square
#39216F #6F2130 #576F21 #216F60
split-complementary
#39216F #6F6021 #306F21
monochromatic
#0C0718 #211340 #39216F #512F9E #6C43C7

Accessibility & contrast

On white

12.95
#39216F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39216F
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39216F#FFFFFF#000000##FFFFFF
##39216F1.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003271
Deuteranopia (green-blind)
#00306D
Tritanopia (blue-blind)
#293445
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #39216f;
/* rgb */ color: rgb(57, 33, 111);
/* oklch */ color: oklch(32.8% 0.127 292.0);
Tailwind
colors: {
  custom: {
    50: '#755e99',
    500: '#39216f',
    950: '#000000',
  },
}
SCSS
$custom: #39216f;
$custom-light: #755e99;
$custom-dark: #000000;
JSON
{
  "hex": "#39216f",
  "rgb": {
    "r": 57,
    "g": 33,
    "b": 111
  },
  "hsl": {
    "h": 258.462,
    "s": 54.167,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32798,
    "c": 0.12742,
    "h": 292
  },
  "luminance": 0.03105
}

Semantic roles & 50–950 ramp

primary
#39216F
secondary
#87A349
accent
#DE4AB0
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #39216F

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

Preview Lab → · Contrast checker → · Palette generator →

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