#39214F#39214F

#39214F is a dark, moderate violet. Relative luminance 0.025; OKLCH L 30.2% C 0.084 H 306.1°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#39214F
RGBrgb(57, 33, 79)
HSLhsl(271, 41%, 22%)
HSVhsv(271, 58%, 31%)
CMYKcmyk(27.8%, 58.2%, 0%, 69%)
CIE-LABlab(18.02, 21.94, -24.02)
CIE-LCHlch(18.02, 32.53, 312.41°)
OKLaboklab(30.24% 0.0493 -0.0675)
OKLCHoklch(30.24% 0.084 306.1)
XYZxyz(3.6422, 2.5221, 7.6906)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39214F #374F21
analogous
#22214F #39214F #4F214E
triadic
#39214F #4F3921 #214F39
tetradic
#39214F #4F2221 #374F21 #214E4F
square
#39214F #4F2221 #374F21 #214E4F
split-complementary
#39214F #4E4F21 #214F22
monochromatic
#100916 #1A0F24 #39214F #58337A #7745A5

Accessibility & contrast

On white

13.96
#39214F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#39214F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39214F
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39214F#FFFFFF#000000##FFFFFF
##39214F1.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122B51
Deuteranopia (green-blind)
#1A2C4E
Tritanopia (blue-blind)
#352934
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #39214f;
/* rgb */ color: rgb(57, 33, 79);
/* oklch */ color: oklch(30.2% 0.084 306.1);
Tailwind
colors: {
  custom: {
    50: '#715d80',
    500: '#39214f',
    950: '#000000',
  },
}
SCSS
$custom: #39214f;
$custom-light: #715d80;
$custom-dark: #000000;
JSON
{
  "hex": "#39214f",
  "rgb": {
    "r": 57,
    "g": 33,
    "b": 79
  },
  "hsl": {
    "h": 271.304,
    "s": 41.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.30244,
    "c": 0.08356,
    "h": 306.1
  },
  "luminance": 0.02522
}

Semantic roles & 50–950 ramp

primary
#39214F
secondary
#658349
accent
#D15791
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#08040A
muted
#7B797C

Preview Lab

Preview with #39214F

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

Preview Lab → · Contrast checker → · Palette generator →

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