#36217E#36217E

#36217E is a dark, vivid violet. Relative luminance 0.034; OKLCH L 33.9% C 0.147 H 285.9°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#36217E
RGBrgb(54, 33, 126)
HSLhsl(254, 58%, 31%)
HSVhsv(254, 74%, 49%)
CMYKcmyk(57.1%, 73.8%, 0%, 50.6%)
CIE-LABlab(21.50, 35.56, -49.19)
CIE-LCHlch(21.50, 60.69, 305.86°)
OKLaboklab(33.89% 0.0403 -0.1415)
OKLCHoklch(33.89% 0.147 285.9)
XYZxyz(5.8299, 3.3780, 20.0794)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36217E #697E21
analogous
#213A7E #36217E #64217E
triadic
#36217E #7E3621 #217E36
tetradic
#36217E #7E213A #697E21 #217E64
square
#36217E #7E213A #697E21 #217E64
split-complementary
#36217E #7E6421 #3A7E21
monochromatic
#0C081D #21144E #36217E #4B2EAE #684AD0

Accessibility & contrast

On white

12.53
#36217E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#36217E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36217E
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36217E#FFFFFF#000000##FFFFFF
##36217E1.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003681
Deuteranopia (green-blind)
#00317C
Tritanopia (blue-blind)
#163A4D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #36217e;
/* rgb */ color: rgb(54, 33, 126);
/* oklch */ color: oklch(33.9% 0.147 285.9);
Tailwind
colors: {
  custom: {
    50: '#765ea4',
    500: '#36217e',
    950: '#000000',
  },
}
SCSS
$custom: #36217e;
$custom-light: #765ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#36217e",
  "rgb": {
    "r": 54,
    "g": 33,
    "b": 126
  },
  "hsl": {
    "h": 253.548,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.33885,
    "c": 0.14712,
    "h": 285.9
  },
  "luminance": 0.03378
}

Semantic roles & 50–950 ramp

primary
#36217E
secondary
#9AB14A
accent
#E246BF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #36217E

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

Preview Lab → · Contrast checker → · Palette generator →

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