#36218E#36218E

#36218E is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.5% C 0.167 H 282.6°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#36218E
RGBrgb(54, 33, 142)
HSLhsl(252, 62%, 34%)
HSVhsv(252, 77%, 56%)
CMYKcmyk(62%, 76.8%, 0%, 44.3%)
CIE-LABlab(23.08, 40.58, -56.63)
CIE-LCHlch(23.08, 69.67, 305.63°)
OKLaboklab(35.49% 0.0364 -0.1633)
OKLCHoklch(35.49% 0.167 282.6)
XYZxyz(6.9461, 3.8245, 25.9581)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36218E #798E21
analogous
#21428E #36218E #6D218E
triadic
#36218E #8E3621 #218E36
tetradic
#36218E #8E2142 #798E21 #218E6D
square
#36218E #8E2142 #798E21 #218E6D
split-complementary
#36218E #8E6D21 #428E21
monochromatic
#100A2B #23155C #36218E #492DC0 #6C52D7

Accessibility & contrast

On white

11.90
#36218E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#36218E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36218E
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36218E#FFFFFF#000000##FFFFFF
##36218E1.0011.901.7711.90
#FFFFFF11.901.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B91
Deuteranopia (green-blind)
#00338C
Tritanopia (blue-blind)
#004056
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #36218e;
/* rgb */ color: rgb(54, 33, 142);
/* oklch */ color: oklch(35.5% 0.167 282.6);
Tailwind
colors: {
  custom: {
    50: '#795fb0',
    500: '#36218e',
    950: '#000000',
  },
}
SCSS
$custom: #36218e;
$custom-light: #795fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#36218e",
  "rgb": {
    "r": 54,
    "g": 33,
    "b": 142
  },
  "hsl": {
    "h": 251.56,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35486,
    "c": 0.16728,
    "h": 282.6
  },
  "luminance": 0.03825
}

Semantic roles & 50–950 ramp

primary
#36218E
secondary
#A6BA50
accent
#E542C6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #36218E

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

Preview Lab → · Contrast checker → · Palette generator →

#36218E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva