#36227D#36227D

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

Color values

HEX#36227D
RGBrgb(54, 34, 125)
HSLhsl(253, 57%, 31%)
HSVhsv(253, 73%, 49%)
CMYKcmyk(56.8%, 72.8%, 0%, 51%)
CIE-LABlab(21.61, 34.66, -48.37)
CIE-LCHlch(21.61, 59.50, 305.63°)
OKLaboklab(33.94% 0.0396 -0.1391)
OKLCHoklch(33.94% 0.145 285.9)
XYZxyz(5.7939, 3.4087, 19.7507)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36227D #697D22
analogous
#223B7D #36227D #63227D
triadic
#36227D #7D3622 #227D36
tetradic
#36227D #7D223B #697D22 #227D63
square
#36227D #7D223B #697D22 #227D63
split-complementary
#36227D #7D6322 #3B7D22
monochromatic
#0C081D #21154D #36227D #4B2FAD #684BCE

Accessibility & contrast

On white

12.49
#36227D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#36227D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36227D
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36227D#FFFFFF#000000##FFFFFF
##36227D1.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003680
Deuteranopia (green-blind)
#00317B
Tritanopia (blue-blind)
#173A4D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #36227d;
/* rgb */ color: rgb(54, 34, 125);
/* oklch */ color: oklch(33.9% 0.145 285.9);
Tailwind
colors: {
  custom: {
    50: '#755fa4',
    500: '#36227d',
    950: '#000000',
  },
}
SCSS
$custom: #36227d;
$custom-light: #755fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#36227d",
  "rgb": {
    "r": 54,
    "g": 34,
    "b": 125
  },
  "hsl": {
    "h": 253.187,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.33936,
    "c": 0.14462,
    "h": 285.9
  },
  "luminance": 0.03409
}

Semantic roles & 50–950 ramp

primary
#36227D
secondary
#9AB04B
accent
#E047BF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #36227D

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

Preview Lab → · Contrast checker → · Palette generator →

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