#39215B#39215B

#39215B is a dark, moderate violet. Relative luminance 0.027; OKLCH L 31.1% C 0.100 H 299.6°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#39215B
RGBrgb(57, 33, 91)
HSLhsl(265, 47%, 24%)
HSVhsv(265, 64%, 36%)
CMYKcmyk(37.4%, 63.7%, 0%, 64.3%)
CIE-LABlab(18.86, 25.39, -30.74)
CIE-LCHlch(18.86, 39.87, 309.55°)
OKLaboklab(31.13% 0.0496 -0.0872)
OKLCHoklch(31.13% 0.1 299.6)
XYZxyz(4.1191, 2.7129, 10.2021)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39215B #435B21
analogous
#21265B #39215B #56215B
triadic
#39215B #5B3921 #215B39
tetradic
#39215B #5B2126 #435B21 #215B56
square
#39215B #5B2126 #435B21 #215B56
split-complementary
#39215B #5B5621 #265B21
monochromatic
#0E0816 #1D112E #39215B #553188 #7142B5

Accessibility & contrast

On white

13.61
#39215B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#39215B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39215B
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39215B#FFFFFF#000000##FFFFFF
##39215B1.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032E5D
Deuteranopia (green-blind)
#0E2D5A
Tritanopia (blue-blind)
#322D3A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #39215b;
/* rgb */ color: rgb(57, 33, 91);
/* oklch */ color: oklch(31.1% 0.100 299.6);
Tailwind
colors: {
  custom: {
    50: '#725d8a',
    500: '#39215b',
    950: '#000000',
  },
}
SCSS
$custom: #39215b;
$custom-light: #725d8a;
$custom-dark: #000000;
JSON
{
  "hex": "#39215b",
  "rgb": {
    "r": 57,
    "g": 33,
    "b": 91
  },
  "hsl": {
    "h": 264.828,
    "s": 46.774,
    "l": 24.314
  },
  "oklch": {
    "l": 0.31128,
    "c": 0.10031,
    "h": 299.6
  },
  "luminance": 0.02713
}

Semantic roles & 50–950 ramp

primary
#39215B
secondary
#728F49
accent
#D6519F
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #39215B

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

Preview Lab → · Contrast checker → · Palette generator →

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