#39219F#39219F

#39219F is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.5% C 0.187 H 281.2°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#39219F
RGBrgb(57, 33, 159)
HSLhsl(251, 66%, 38%)
HSVhsv(251, 79%, 62%)
CMYKcmyk(64.2%, 79.2%, 0%, 37.6%)
CIE-LABlab(25.14, 46.17, -63.70)
CIE-LCHlch(25.14, 78.67, 305.93°)
OKLaboklab(37.53% 0.0362 -0.1838)
OKLCHoklch(37.53% 0.187 281.2)
XYZxyz(8.4872, 4.4601, 33.2078)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39219F #879F21
analogous
#21489F #39219F #78219F
triadic
#39219F #9F3921 #219F39
tetradic
#39219F #9F2148 #879F21 #219F78
square
#39219F #9F2148 #879F21 #219F78
split-complementary
#39219F #9F7821 #489F21
monochromatic
#150C3A #27166C #39219F #4B2CD2 #755DDD

Accessibility & contrast

On white

11.10
#39219F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39219F
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39219F#FFFFFF#000000##FFFFFF
##39219F1.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A3
Deuteranopia (green-blind)
#00379D
Tritanopia (blue-blind)
#004660
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #39219f;
/* rgb */ color: rgb(57, 33, 159);
/* oklch */ color: oklch(37.5% 0.187 281.2);
Tailwind
colors: {
  custom: {
    50: '#7d60bd',
    500: '#39219f',
    950: '#000000',
  },
}
SCSS
$custom: #39219f;
$custom-light: #7d60bd;
$custom-dark: #000000;
JSON
{
  "hex": "#39219f",
  "rgb": {
    "r": 57,
    "g": 33,
    "b": 159
  },
  "hsl": {
    "h": 251.429,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37526,
    "c": 0.18735,
    "h": 281.2
  },
  "luminance": 0.04461
}

Semantic roles & 50–950 ramp

primary
#39219F
secondary
#AEC25A
accent
#E93FC8
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #39219F

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

Preview Lab → · Contrast checker → · Palette generator →

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