#211163#211163

#211163 is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.8% C 0.133 H 281.6°. Best body text is #FFFFFF at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#211163
RGBrgb(33, 17, 99)
HSLhsl(252, 71%, 23%)
HSVhsv(252, 83%, 39%)
CMYKcmyk(66.7%, 82.8%, 0%, 61.2%)
CIE-LABlab(13.38, 32.75, -45.11)
CIE-LCHlch(13.38, 55.74, 305.98°)
OKLaboklab(26.79% 0.0266 -0.1301)
OKLCHoklch(26.79% 0.133 281.6)
XYZxyz(3.0791, 1.6249, 11.9533)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211163 #536311
analogous
#112A63 #211163 #4A1163
triadic
#211163 #632111 #116321
tetradic
#211163 #63112A #536311 #11634A
square
#211163 #63112A #536311 #11634A
split-complementary
#211163 #634A11 #2A6311
monochromatic
#09041A #10082F #211163 #321A97 #4423CB

Accessibility & contrast

On white

15.85
#211163 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#211163 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211163
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211163#FFFFFF#000000##FFFFFF
##2111631.0015.851.3315.85
#FFFFFF15.851.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002565
Deuteranopia (green-blind)
#001F62
Tritanopia (blue-blind)
#00293A
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #211163;
/* rgb */ color: rgb(33, 17, 99);
/* oklch */ color: oklch(26.8% 0.133 281.6);
Tailwind
colors: {
  custom: {
    50: '#675290',
    500: '#211163',
    950: '#000000',
  },
}
SCSS
$custom: #211163;
$custom-light: #675290;
$custom-dark: #000000;
JSON
{
  "hex": "#211163",
  "rgb": {
    "r": 33,
    "g": 17,
    "b": 99
  },
  "hsl": {
    "h": 251.707,
    "s": 70.69,
    "l": 22.745
  },
  "oklch": {
    "l": 0.26791,
    "c": 0.13283,
    "h": 281.6
  },
  "luminance": 0.01625
}

Semantic roles & 50–950 ramp

primary
#211163
secondary
#879B34
accent
#ED3ACB
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #211163

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

Preview Lab → · Contrast checker → · Palette generator →

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