#36217D#36217D

#36217D is a dark, vivid violet. Relative luminance 0.034; OKLCH L 33.8% C 0.146 H 286.1°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#36217D
RGBrgb(54, 33, 125)
HSLhsl(254, 58%, 31%)
HSVhsv(254, 74%, 49%)
CMYKcmyk(56.8%, 73.6%, 0%, 51%)
CIE-LABlab(21.40, 35.24, -48.71)
CIE-LCHlch(21.40, 60.12, 305.89°)
OKLaboklab(33.79% 0.0405 -0.1401)
OKLCHoklch(33.79% 0.146 286.1)
XYZxyz(5.7657, 3.3523, 19.7413)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36217D #687D21
analogous
#213A7D #36217D #64217D
triadic
#36217D #7D3621 #217D36
tetradic
#36217D #7D213A #687D21 #217D64
square
#36217D #7D213A #687D21 #217D64
split-complementary
#36217D #7D6421 #3A7D21
monochromatic
#0C071C #21144D #36217D #4B2EAD #6849CF

Accessibility & contrast

On white

12.57
#36217D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#36217D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36217D
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36217D#FFFFFF#000000##FFFFFF
##36217D1.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003680
Deuteranopia (green-blind)
#00317B
Tritanopia (blue-blind)
#17394C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #36217d;
/* rgb */ color: rgb(54, 33, 125);
/* oklch */ color: oklch(33.8% 0.146 286.1);
Tailwind
colors: {
  custom: {
    50: '#755ea4',
    500: '#36217d',
    950: '#000000',
  },
}
SCSS
$custom: #36217d;
$custom-light: #755ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#36217d",
  "rgb": {
    "r": 54,
    "g": 33,
    "b": 125
  },
  "hsl": {
    "h": 253.696,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.33788,
    "c": 0.14583,
    "h": 286.1
  },
  "luminance": 0.03353
}

Semantic roles & 50–950 ramp

primary
#36217D
secondary
#99B04A
accent
#E146BE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #36217D

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

Preview Lab → · Contrast checker → · Palette generator →

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