#36217A#36217A

#36217A is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.5% C 0.142 H 286.8°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#36217A
RGBrgb(54, 33, 122)
HSLhsl(254, 57%, 30%)
HSVhsv(254, 73%, 48%)
CMYKcmyk(55.7%, 73%, 0%, 52.2%)
CIE-LABlab(21.12, 34.29, -47.26)
CIE-LCHlch(21.12, 58.39, 305.96°)
OKLaboklab(33.5% 0.0411 -0.1359)
OKLCHoklch(33.5% 0.142 286.8)
XYZxyz(5.5770, 3.2768, 18.7472)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36217A #657A21
analogous
#21397A #36217A #62217A
triadic
#36217A #7A3621 #217A36
tetradic
#36217A #7A2139 #657A21 #217A62
square
#36217A #7A2139 #657A21 #217A62
split-complementary
#36217A #7A6221 #397A21
monochromatic
#0B071A #21144A #36217A #4B2EAA #6748CD

Accessibility & contrast

On white

12.69
#36217A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#36217A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36217A
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36217A#FFFFFF#000000##FFFFFF
##36217A1.0012.691.6612.69
#FFFFFF12.691.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357D
Deuteranopia (green-blind)
#003078
Tritanopia (blue-blind)
#1A384B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #36217a;
/* rgb */ color: rgb(54, 33, 122);
/* oklch */ color: oklch(33.5% 0.142 286.8);
Tailwind
colors: {
  custom: {
    50: '#755ea1',
    500: '#36217a',
    950: '#000000',
  },
}
SCSS
$custom: #36217a;
$custom-light: #755ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#36217a",
  "rgb": {
    "r": 54,
    "g": 33,
    "b": 122
  },
  "hsl": {
    "h": 254.157,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.33499,
    "c": 0.14194,
    "h": 286.8
  },
  "luminance": 0.03277
}

Semantic roles & 50–950 ramp

primary
#36217A
secondary
#96AD4A
accent
#E147BC
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#09040F
muted
#7B797F

Preview Lab

Preview with #36217A

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

Preview Lab → · Contrast checker → · Palette generator →

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