#36217C#36217C

#36217C is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.7% C 0.145 H 286.4°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#36217C
RGBrgb(54, 33, 124)
HSLhsl(254, 58%, 31%)
HSVhsv(254, 73%, 49%)
CMYKcmyk(56.5%, 73.4%, 0%, 51.4%)
CIE-LABlab(21.31, 34.92, -48.23)
CIE-LCHlch(21.31, 59.55, 305.91°)
OKLaboklab(33.69% 0.0407 -0.1387)
OKLCHoklch(33.69% 0.145 286.4)
XYZxyz(5.7022, 3.3269, 19.4066)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36217C #677C21
analogous
#21397C #36217C #63217C
triadic
#36217C #7C3621 #217C36
tetradic
#36217C #7C2139 #677C21 #217C63
square
#36217C #7C2139 #677C21 #217C63
split-complementary
#36217C #7C6321 #397C21
monochromatic
#0C071B #21144C #36217C #4B2EAC #6849CF

Accessibility & contrast

On white

12.61
#36217C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #36217C
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36217C#FFFFFF#000000##FFFFFF
##36217C1.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357F
Deuteranopia (green-blind)
#00307A
Tritanopia (blue-blind)
#18394C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #36217c;
/* rgb */ color: rgb(54, 33, 124);
/* oklch */ color: oklch(33.7% 0.145 286.4);
Tailwind
colors: {
  custom: {
    50: '#755ea3',
    500: '#36217c',
    950: '#000000',
  },
}
SCSS
$custom: #36217c;
$custom-light: #755ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#36217c",
  "rgb": {
    "r": 54,
    "g": 33,
    "b": 124
  },
  "hsl": {
    "h": 253.846,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.33691,
    "c": 0.14454,
    "h": 286.4
  },
  "luminance": 0.03327
}

Semantic roles & 50–950 ramp

primary
#36217C
secondary
#98AF4A
accent
#E147BE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #36217C

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

Preview Lab → · Contrast checker → · Palette generator →

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