#39219B#39219B

#39219B is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.183 H 281.8°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#39219B
RGBrgb(57, 33, 155)
HSLhsl(252, 65%, 37%)
HSVhsv(252, 79%, 61%)
CMYKcmyk(63.2%, 78.7%, 0%, 39.2%)
CIE-LABlab(24.71, 44.96, -61.95)
CIE-LCHlch(24.71, 76.55, 305.97°)
OKLaboklab(37.1% 0.0374 -0.1787)
OKLCHoklch(37.1% 0.183 281.8)
XYZxyz(8.1457, 4.3235, 31.4093)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39219B #839B21
analogous
#21469B #39219B #76219B
triadic
#39219B #9B3921 #219B39
tetradic
#39219B #9B2146 #839B21 #219B76
square
#39219B #9B2146 #839B21 #219B76
split-complementary
#39219B #9B7621 #469B21
monochromatic
#140C36 #261669 #39219B #4C2CCD #745ADC

Accessibility & contrast

On white

11.26
#39219B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39219B
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39219B#FFFFFF#000000##FFFFFF
##39219B1.0011.261.8611.26
#FFFFFF11.261.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9E
Deuteranopia (green-blind)
#003699
Tritanopia (blue-blind)
#00455D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #39219b;
/* rgb */ color: rgb(57, 33, 155);
/* oklch */ color: oklch(37.1% 0.183 281.8);
Tailwind
colors: {
  custom: {
    50: '#7d60ba',
    500: '#39219b',
    950: '#000000',
  },
}
SCSS
$custom: #39219b;
$custom-light: #7d60ba;
$custom-dark: #000000;
JSON
{
  "hex": "#39219b",
  "rgb": {
    "r": 57,
    "g": 33,
    "b": 155
  },
  "hsl": {
    "h": 251.803,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37104,
    "c": 0.18259,
    "h": 281.8
  },
  "luminance": 0.04324
}

Semantic roles & 50–950 ramp

primary
#39219B
secondary
#ACC058
accent
#E840C7
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #39219B

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

Preview Lab → · Contrast checker → · Palette generator →

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