#39218E#39218E

#39218E is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.8% C 0.167 H 284.2°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#39218E
RGBrgb(57, 33, 142)
HSLhsl(253, 62%, 34%)
HSVhsv(253, 77%, 56%)
CMYKcmyk(59.9%, 76.8%, 0%, 44.3%)
CIE-LABlab(23.37, 40.99, -56.14)
CIE-LCHlch(23.37, 69.51, 306.13°)
OKLaboklab(35.76% 0.041 -0.1618)
OKLCHoklch(35.76% 0.167 284.2)
XYZxyz(7.1122, 3.9101, 25.9659)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39218E #768E21
analogous
#21408E #39218E #70218E
triadic
#39218E #8E3921 #218E39
tetradic
#39218E #8E2140 #768E21 #218E70
square
#39218E #8E2140 #768E21 #218E70
split-complementary
#39218E #8E7021 #408E21
monochromatic
#110A2B #25155C #39218E #4D2DC0 #7052D7

Accessibility & contrast

On white

11.78
#39218E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#39218E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39218E
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39218E#FFFFFF#000000##FFFFFF
##39218E1.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B91
Deuteranopia (green-blind)
#00348C
Tritanopia (blue-blind)
#064056
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #39218e;
/* rgb */ color: rgb(57, 33, 142);
/* oklch */ color: oklch(35.8% 0.167 284.2);
Tailwind
colors: {
  custom: {
    50: '#7a5fb0',
    500: '#39218e',
    950: '#000000',
  },
}
SCSS
$custom: #39218e;
$custom-light: #7a5fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#39218e",
  "rgb": {
    "r": 57,
    "g": 33,
    "b": 142
  },
  "hsl": {
    "h": 253.211,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35761,
    "c": 0.16687,
    "h": 284.2
  },
  "luminance": 0.03911
}

Semantic roles & 50–950 ramp

primary
#39218E
secondary
#A3BA50
accent
#E542C1
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #39218E

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

Preview Lab → · Contrast checker → · Palette generator →

#39218E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva