#211558#211558

#211558 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.2% C 0.114 H 283.5°. Best body text is #FFFFFF at 16.00:1 contrast (WCAG AA passes).

Color values

HEX#211558
RGBrgb(33, 21, 88)
HSLhsl(251, 61%, 21%)
HSVhsv(251, 76%, 35%)
CMYKcmyk(62.5%, 76.1%, 0%, 65.5%)
CIE-LABlab(13.01, 26.69, -38.35)
CIE-LCHlch(13.01, 46.73, 304.84°)
OKLaboklab(26.17% 0.0264 -0.1104)
OKLCHoklch(26.17% 0.114 283.5)
XYZxyz(2.6563, 1.5641, 9.3926)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211558 #4C5815
analogous
#152B58 #211558 #431558
triadic
#211558 #582115 #155821
tetradic
#211558 #58152B #4C5815 #155843
square
#211558 #58152B #4C5815 #155843
split-complementary
#211558 #584315 #2B5815
monochromatic
#090619 #0E0927 #211558 #342189 #462DBB

Accessibility & contrast

On white

16.00
#211558 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#211558 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211558
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211558#FFFFFF#000000##FFFFFF
##2115581.0016.001.3116.00
#FFFFFF16.001.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245A
Deuteranopia (green-blind)
#001F57
Tritanopia (blue-blind)
#042734
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #211558;
/* rgb */ color: rgb(33, 21, 88);
/* oklch */ color: oklch(26.2% 0.114 283.5);
Tailwind
colors: {
  custom: {
    50: '#645388',
    500: '#211558',
    950: '#000000',
  },
}
SCSS
$custom: #211558;
$custom-light: #645388;
$custom-dark: #000000;
JSON
{
  "hex": "#211558",
  "rgb": {
    "r": 33,
    "g": 21,
    "b": 88
  },
  "hsl": {
    "h": 250.746,
    "s": 61.468,
    "l": 21.373
  },
  "oklch": {
    "l": 0.26168,
    "c": 0.11355,
    "h": 283.5
  },
  "luminance": 0.01564
}

Semantic roles & 50–950 ramp

primary
#211558
secondary
#809039
accent
#E543C8
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020B
muted
#7A787C

Preview Lab

Preview with #211558

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

Preview Lab → · Contrast checker → · Palette generator →

#211558 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva