#39218C#39218C

#39218C is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.6% C 0.164 H 284.6°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#39218C
RGBrgb(57, 33, 140)
HSLhsl(253, 62%, 34%)
HSVhsv(253, 76%, 55%)
CMYKcmyk(59.3%, 76.4%, 0%, 45.1%)
CIE-LABlab(23.17, 40.38, -55.23)
CIE-LCHlch(23.17, 68.41, 306.17°)
OKLaboklab(35.56% 0.0415 -0.1591)
OKLCHoklch(35.56% 0.164 284.6)
XYZxyz(6.9634, 3.8506, 25.1822)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39218C #748C21
analogous
#213F8C #39218C #6F218C
triadic
#39218C #8C3921 #218C39
tetradic
#39218C #8C213F #748C21 #218C6F
square
#39218C #8C213F #748C21 #218C6F
split-complementary
#39218C #8C6F21 #3F8C21
monochromatic
#110A29 #25155A #39218C #4D2DBE #6F51D6

Accessibility & contrast

On white

11.86
#39218C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#39218C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39218C
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39218C#FFFFFF#000000##FFFFFF
##39218C1.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8F
Deuteranopia (green-blind)
#00348A
Tritanopia (blue-blind)
#0B3F55
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #39218c;
/* rgb */ color: rgb(57, 33, 140);
/* oklch */ color: oklch(35.6% 0.164 284.6);
Tailwind
colors: {
  custom: {
    50: '#7a5faf',
    500: '#39218c',
    950: '#000000',
  },
}
SCSS
$custom: #39218c;
$custom-light: #7a5faf;
$custom-dark: #000000;
JSON
{
  "hex": "#39218c",
  "rgb": {
    "r": 57,
    "g": 33,
    "b": 140
  },
  "hsl": {
    "h": 253.458,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35559,
    "c": 0.16441,
    "h": 284.6
  },
  "luminance": 0.03851
}

Semantic roles & 50–950 ramp

primary
#39218C
secondary
#A2B94F
accent
#E543C1
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #39218C

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

Preview Lab → · Contrast checker → · Palette generator →

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