#211159#211159

#211159 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.7% C 0.120 H 284.3°. Best body text is #FFFFFF at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#211159
RGBrgb(33, 17, 89)
HSLhsl(253, 68%, 21%)
HSVhsv(253, 81%, 35%)
CMYKcmyk(62.9%, 80.9%, 0%, 65.1%)
CIE-LABlab(12.26, 29.44, -40.27)
CIE-LCHlch(12.26, 49.88, 306.18°)
OKLaboklab(25.67% 0.0296 -0.116)
OKLCHoklch(25.67% 0.12 284.3)
XYZxyz(2.6303, 1.4453, 9.5896)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211159 #495911
analogous
#112559 #211159 #451159
triadic
#211159 #592111 #115921
tetradic
#211159 #591125 #495911 #115945
square
#211159 #591125 #495911 #115945
split-complementary
#211159 #594511 #255911
monochromatic
#0A051A #0E0726 #211159 #341B8C #4725C0

Accessibility & contrast

On white

16.29
#211159 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#211159 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211159
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211159#FFFFFF#000000##FFFFFF
##2111591.0016.291.2916.29
#FFFFFF16.291.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225B
Deuteranopia (green-blind)
#001E58
Tritanopia (blue-blind)
#032534
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #211159;
/* rgb */ color: rgb(33, 17, 89);
/* oklch */ color: oklch(25.7% 0.120 284.3);
Tailwind
colors: {
  custom: {
    50: '#645189',
    500: '#211159',
    950: '#000000',
  },
}
SCSS
$custom: #211159;
$custom-light: #645189;
$custom-dark: #000000;
JSON
{
  "hex": "#211159",
  "rgb": {
    "r": 33,
    "g": 17,
    "b": 89
  },
  "hsl": {
    "h": 253.333,
    "s": 67.925,
    "l": 20.784
  },
  "oklch": {
    "l": 0.25666,
    "c": 0.11974,
    "h": 284.3
  },
  "luminance": 0.01445
}

Semantic roles & 50–950 ramp

primary
#211159
secondary
#7D9234
accent
#EB3DC4
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020B
muted
#7A787C

Preview Lab

Preview with #211159

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

Preview Lab → · Contrast checker → · Palette generator →

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