#39219C#39219C

#39219C is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.184 H 281.6°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#39219C
RGBrgb(57, 33, 156)
HSLhsl(252, 65%, 37%)
HSVhsv(252, 79%, 61%)
CMYKcmyk(63.5%, 78.8%, 0%, 38.8%)
CIE-LABlab(24.82, 45.26, -62.39)
CIE-LCHlch(24.82, 77.08, 305.96°)
OKLaboklab(37.21% 0.0371 -0.18)
OKLCHoklch(37.21% 0.184 281.6)
XYZxyz(8.2301, 4.3573, 31.8534)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39219C #849C21
analogous
#21479C #39219C #76219C
triadic
#39219C #9C3921 #219C39
tetradic
#39219C #9C2147 #849C21 #219C76
square
#39219C #9C2147 #849C21 #219C76
split-complementary
#39219C #9C7621 #479C21
monochromatic
#140C37 #271669 #39219C #4B2CCF #745BDC

Accessibility & contrast

On white

11.22
#39219C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#39219C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39219C
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39219C#FFFFFF#000000##FFFFFF
##39219C1.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9F
Deuteranopia (green-blind)
#00369A
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #39219c;
/* rgb */ color: rgb(57, 33, 156);
/* oklch */ color: oklch(37.2% 0.184 281.6);
Tailwind
colors: {
  custom: {
    50: '#7d60ba',
    500: '#39219c',
    950: '#000000',
  },
}
SCSS
$custom: #39219c;
$custom-light: #7d60ba;
$custom-dark: #000000;
JSON
{
  "hex": "#39219c",
  "rgb": {
    "r": 57,
    "g": 33,
    "b": 156
  },
  "hsl": {
    "h": 251.707,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37209,
    "c": 0.18379,
    "h": 281.6
  },
  "luminance": 0.04358
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #39219C

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

Preview Lab → · Contrast checker → · Palette generator →

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