#36219F#36219F

#36219F is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.188 H 279.7°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#36219F
RGBrgb(54, 33, 159)
HSLhsl(250, 66%, 38%)
HSVhsv(250, 79%, 62%)
CMYKcmyk(66%, 79.2%, 0%, 37.6%)
CIE-LABlab(24.87, 45.84, -64.14)
CIE-LCHlch(24.87, 78.84, 305.55°)
OKLaboklab(37.28% 0.0318 -0.1852)
OKLCHoklch(37.28% 0.188 279.7)
XYZxyz(8.3212, 4.3745, 33.2000)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36219F #8A9F21
analogous
#214B9F #36219F #75219F
triadic
#36219F #9F3621 #219F36
tetradic
#36219F #9F214B #8A9F21 #219F75
square
#36219F #9F214B #8A9F21 #219F75
split-complementary
#36219F #9F7521 #4B9F21
monochromatic
#140C3A #25166C #36219F #472CD2 #725DDD

Accessibility & contrast

On white

11.20
#36219F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#36219F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36219F
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36219F#FFFFFF#000000##FFFFFF
##36219F1.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A3
Deuteranopia (green-blind)
#00369D
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #36219f;
/* rgb */ color: rgb(54, 33, 159);
/* oklch */ color: oklch(37.3% 0.188 279.7);
Tailwind
colors: {
  custom: {
    50: '#7c60bd',
    500: '#36219f',
    950: '#000000',
  },
}
SCSS
$custom: #36219f;
$custom-light: #7c60bd;
$custom-dark: #000000;
JSON
{
  "hex": "#36219f",
  "rgb": {
    "r": 54,
    "g": 33,
    "b": 159
  },
  "hsl": {
    "h": 250,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37275,
    "c": 0.1879,
    "h": 279.7
  },
  "luminance": 0.04375
}

Semantic roles & 50–950 ramp

primary
#36219F
secondary
#B1C25A
accent
#E93FCC
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #36219F

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

Preview Lab → · Contrast checker → · Palette generator →

#36219F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva