#39219A#39219A

#39219A is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.0% C 0.181 H 282.0°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#39219A
RGBrgb(57, 33, 154)
HSLhsl(252, 65%, 37%)
HSVhsv(252, 79%, 60%)
CMYKcmyk(63%, 78.6%, 0%, 39.6%)
CIE-LABlab(24.61, 44.65, -61.51)
CIE-LCHlch(24.61, 76.01, 305.98°)
OKLaboklab(37% 0.0377 -0.1774)
OKLCHoklch(37% 0.181 282)
XYZxyz(8.0621, 4.2901, 30.9688)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39219A #829A21
analogous
#21469A #39219A #76219A
triadic
#39219A #9A3921 #219A39
tetradic
#39219A #9A2146 #829A21 #219A76
square
#39219A #9A2146 #829A21 #219A76
split-complementary
#39219A #9A7621 #469A21
monochromatic
#140B35 #261668 #39219A #4C2CCC #745ADC

Accessibility & contrast

On white

11.30
#39219A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#39219A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39219A
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39219A#FFFFFF#000000##FFFFFF
##39219A1.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9D
Deuteranopia (green-blind)
#003698
Tritanopia (blue-blind)
#00445D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #39219a;
/* rgb */ color: rgb(57, 33, 154);
/* oklch */ color: oklch(37.0% 0.181 282.0);
Tailwind
colors: {
  custom: {
    50: '#7c60b9',
    500: '#39219a',
    950: '#000000',
  },
}
SCSS
$custom: #39219a;
$custom-light: #7c60b9;
$custom-dark: #000000;
JSON
{
  "hex": "#39219a",
  "rgb": {
    "r": 57,
    "g": 33,
    "b": 154
  },
  "hsl": {
    "h": 251.901,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36999,
    "c": 0.1814,
    "h": 282
  },
  "luminance": 0.04291
}

Semantic roles & 50–950 ramp

primary
#39219A
secondary
#ABC057
accent
#E840C6
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #39219A

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

Preview Lab → · Contrast checker → · Palette generator →

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