#39215C#39215C

#39215C is a dark, moderate violet. Relative luminance 0.027; OKLCH L 31.2% C 0.102 H 299.2°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#39215C
RGBrgb(57, 33, 92)
HSLhsl(264, 47%, 25%)
HSVhsv(264, 64%, 36%)
CMYKcmyk(38%, 64.1%, 0%, 63.9%)
CIE-LABlab(18.93, 25.68, -31.29)
CIE-LCHlch(18.93, 40.48, 309.38°)
OKLaboklab(31.21% 0.0496 -0.0888)
OKLCHoklch(31.21% 0.102 299.2)
XYZxyz(4.1625, 2.7302, 10.4308)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39215C #445C21
analogous
#21275C #39215C #57215C
triadic
#39215C #5C3921 #215C39
tetradic
#39215C #5C2127 #445C21 #215C57
square
#39215C #5C2127 #445C21 #215C57
split-complementary
#39215C #5C5721 #275C21
monochromatic
#0E0817 #1D112F #39215C #553189 #7141B6

Accessibility & contrast

On white

13.58
#39215C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#39215C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39215C
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39215C#FFFFFF#000000##FFFFFF
##39215C1.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012E5E
Deuteranopia (green-blind)
#0C2D5B
Tritanopia (blue-blind)
#312D3B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #39215c;
/* rgb */ color: rgb(57, 33, 92);
/* oklch */ color: oklch(31.2% 0.102 299.2);
Tailwind
colors: {
  custom: {
    50: '#725d8b',
    500: '#39215c',
    950: '#000000',
  },
}
SCSS
$custom: #39215c;
$custom-light: #725d8b;
$custom-dark: #000000;
JSON
{
  "hex": "#39215c",
  "rgb": {
    "r": 57,
    "g": 33,
    "b": 92
  },
  "hsl": {
    "h": 264.407,
    "s": 47.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.31206,
    "c": 0.10171,
    "h": 299.2
  },
  "luminance": 0.0273
}

Semantic roles & 50–950 ramp

primary
#39215C
secondary
#739049
accent
#D751A0
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #39215C

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

Preview Lab → · Contrast checker → · Palette generator →

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