#36218F#36218F

#36218F is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.6% C 0.169 H 282.4°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#36218F
RGBrgb(54, 33, 143)
HSLhsl(251, 63%, 35%)
HSVhsv(251, 77%, 56%)
CMYKcmyk(62.2%, 76.9%, 0%, 43.9%)
CIE-LABlab(23.19, 40.90, -57.08)
CIE-LCHlch(23.19, 70.22, 305.62°)
OKLaboklab(35.59% 0.0362 -0.1646)
OKLCHoklch(35.59% 0.169 282.4)
XYZxyz(7.0216, 3.8547, 26.3553)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36218F #7A8F21
analogous
#21438F #36218F #6D218F
triadic
#36218F #8F3621 #218F36
tetradic
#36218F #8F2143 #7A8F21 #218F6D
square
#36218F #8F2143 #7A8F21 #218F6D
split-complementary
#36218F #8F6D21 #438F21
monochromatic
#100A2C #23165D #36218F #492CC1 #6C53D7

Accessibility & contrast

On white

11.86
#36218F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #36218F
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36218F#FFFFFF#000000##FFFFFF
##36218F1.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #36218f;
/* rgb */ color: rgb(54, 33, 143);
/* oklch */ color: oklch(35.6% 0.169 282.4);
Tailwind
colors: {
  custom: {
    50: '#795fb1',
    500: '#36218f',
    950: '#000000',
  },
}
SCSS
$custom: #36218f;
$custom-light: #795fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#36218f",
  "rgb": {
    "r": 54,
    "g": 33,
    "b": 143
  },
  "hsl": {
    "h": 251.455,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35589,
    "c": 0.16852,
    "h": 282.4
  },
  "luminance": 0.03855
}

Semantic roles & 50–950 ramp

primary
#36218F
secondary
#A7BB51
accent
#E642C6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #36218F

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

Preview Lab → · Contrast checker → · Palette generator →

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