#36216B#36216B

#36216B is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.1% C 0.122 H 291.0°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#36216B
RGBrgb(54, 33, 107)
HSLhsl(257, 53%, 27%)
HSVhsv(257, 69%, 42%)
CMYKcmyk(49.5%, 69.2%, 0%, 58%)
CIE-LABlab(19.77, 29.56, -39.80)
CIE-LCHlch(19.77, 49.58, 306.60°)
OKLaboklab(32.12% 0.0437 -0.1139)
OKLCHoklch(32.12% 0.122 291)
XYZxyz(4.7183, 2.9333, 14.2247)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36216B #566B21
analogous
#21316B #36216B #5B216B
triadic
#36216B #6B3621 #216B36
tetradic
#36216B #6B2131 #566B21 #216B5B
square
#36216B #6B2131 #566B21 #216B5B
split-complementary
#36216B #6B5B21 #316B21
monochromatic
#0C0717 #1E133C #36216B #4E2F9A #6742C5

Accessibility & contrast

On white

13.23
#36216B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#36216B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36216B
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36216B#FFFFFF#000000##FFFFFF
##36216B1.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316D
Deuteranopia (green-blind)
#002E69
Tritanopia (blue-blind)
#253343
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #36216b;
/* rgb */ color: rgb(54, 33, 107);
/* oklch */ color: oklch(32.1% 0.122 291.0);
Tailwind
colors: {
  custom: {
    50: '#725e96',
    500: '#36216b',
    950: '#000000',
  },
}
SCSS
$custom: #36216b;
$custom-light: #725e96;
$custom-dark: #000000;
JSON
{
  "hex": "#36216b",
  "rgb": {
    "r": 54,
    "g": 33,
    "b": 107
  },
  "hsl": {
    "h": 257.027,
    "s": 52.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.32117,
    "c": 0.12203,
    "h": 291
  },
  "luminance": 0.02934
}

Semantic roles & 50–950 ramp

primary
#36216B
secondary
#869F49
accent
#DC4CB3
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040D
muted
#7B797E

Preview Lab

Preview with #36216B

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

Preview Lab → · Contrast checker → · Palette generator →

#36216B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva