#39219E#39219E

#39219E is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.186 H 281.3°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#39219E
RGBrgb(57, 33, 158)
HSLhsl(252, 65%, 37%)
HSVhsv(252, 79%, 62%)
CMYKcmyk(63.9%, 79.1%, 0%, 38%)
CIE-LABlab(25.03, 45.86, -63.26)
CIE-LCHlch(25.03, 78.14, 305.94°)
OKLaboklab(37.42% 0.0365 -0.1825)
OKLCHoklch(37.42% 0.186 281.3)
XYZxyz(8.4008, 4.4256, 32.7526)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39219E #869E21
analogous
#21489E #39219E #78219E
triadic
#39219E #9E3921 #219E39
tetradic
#39219E #9E2148 #869E21 #219E78
square
#39219E #9E2148 #869E21 #219E78
split-complementary
#39219E #9E7821 #489E21
monochromatic
#140C39 #27166B #39219E #4B2CD1 #755CDD

Accessibility & contrast

On white

11.14
#39219E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#39219E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39219E
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39219E#FFFFFF#000000##FFFFFF
##39219E1.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A1
Deuteranopia (green-blind)
#00379C
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #39219e;
/* rgb */ color: rgb(57, 33, 158);
/* oklch */ color: oklch(37.4% 0.186 281.3);
Tailwind
colors: {
  custom: {
    50: '#7d60bc',
    500: '#39219e',
    950: '#000000',
  },
}
SCSS
$custom: #39219e;
$custom-light: #7d60bc;
$custom-dark: #000000;
JSON
{
  "hex": "#39219e",
  "rgb": {
    "r": 57,
    "g": 33,
    "b": 158
  },
  "hsl": {
    "h": 251.52,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.3742,
    "c": 0.18616,
    "h": 281.3
  },
  "luminance": 0.04426
}

Semantic roles & 50–950 ramp

primary
#39219E
secondary
#ADC159
accent
#E83FC8
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #39219E

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

Preview Lab → · Contrast checker → · Palette generator →

#39219E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva