#39219D#39219D

#39219D is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.185 H 281.5°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#39219D
RGBrgb(57, 33, 157)
HSLhsl(252, 65%, 37%)
HSVhsv(252, 79%, 62%)
CMYKcmyk(63.7%, 79%, 0%, 38.4%)
CIE-LABlab(24.93, 45.56, -62.83)
CIE-LCHlch(24.93, 77.61, 305.95°)
OKLaboklab(37.31% 0.0368 -0.1813)
OKLCHoklch(37.31% 0.185 281.5)
XYZxyz(8.3151, 4.3913, 32.3012)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39219D #859D21
analogous
#21479D #39219D #77219D
triadic
#39219D #9D3921 #219D39
tetradic
#39219D #9D2147 #859D21 #219D77
square
#39219D #9D2147 #859D21 #219D77
split-complementary
#39219D #9D7721 #479D21
monochromatic
#140C38 #27166A #39219D #4B2CD0 #755CDD

Accessibility & contrast

On white

11.18
#39219D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#39219D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39219D
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39219D#FFFFFF#000000##FFFFFF
##39219D1.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA0
Deuteranopia (green-blind)
#00379B
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #39219d;
/* rgb */ color: rgb(57, 33, 157);
/* oklch */ color: oklch(37.3% 0.185 281.5);
Tailwind
colors: {
  custom: {
    50: '#7d60bb',
    500: '#39219d',
    950: '#000000',
  },
}
SCSS
$custom: #39219d;
$custom-light: #7d60bb;
$custom-dark: #000000;
JSON
{
  "hex": "#39219d",
  "rgb": {
    "r": 57,
    "g": 33,
    "b": 157
  },
  "hsl": {
    "h": 251.613,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37314,
    "c": 0.18497,
    "h": 281.5
  },
  "luminance": 0.04392
}

Semantic roles & 50–950 ramp

primary
#39219D
secondary
#ADC159
accent
#E840C8
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #39219D

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

Preview Lab → · Contrast checker → · Palette generator →

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