#211142#211142

#211142 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.3% C 0.088 H 293.4°. Best body text is #FFFFFF at 17.16:1 contrast (WCAG AA passes).

Color values

HEX#211142
RGBrgb(33, 17, 66)
HSLhsl(260, 59%, 16%)
HSVhsv(260, 74%, 26%)
CMYKcmyk(50%, 74.2%, 0%, 74.1%)
CIE-LABlab(9.93, 21.75, -28.19)
CIE-LCHlch(9.93, 35.61, 307.66°)
OKLaboklab(23.3% 0.0349 -0.0806)
OKLCHoklch(23.3% 0.088 293.4)
XYZxyz(1.8107, 1.1175, 5.2735)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211142 #324211
analogous
#111A42 #211142 #3A1142
triadic
#211142 #422111 #114221
tetradic
#211142 #42111A #324211 #11423A
square
#211142 #42111A #324211 #11423A
split-complementary
#211142 #423A11 #1A4211
monochromatic
#0C0618 #0C0618 #211142 #391E73 #522AA3

Accessibility & contrast

On white

17.16
#211142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#211142 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211142
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211142#FFFFFF#000000##FFFFFF
##2111421.0017.161.2217.16
#FFFFFF17.161.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C44
Deuteranopia (green-blind)
#001A41
Tritanopia (blue-blind)
#181D27
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #211142;
/* rgb */ color: rgb(33, 17, 66);
/* oklch */ color: oklch(23.3% 0.088 293.4);
Tailwind
colors: {
  custom: {
    50: '#605077',
    500: '#211142',
    950: '#000000',
  },
}
SCSS
$custom: #211142;
$custom-light: #605077;
$custom-dark: #000000;
JSON
{
  "hex": "#211142",
  "rgb": {
    "r": 33,
    "g": 17,
    "b": 66
  },
  "hsl": {
    "h": 259.592,
    "s": 59.036,
    "l": 16.275
  },
  "oklch": {
    "l": 0.233,
    "c": 0.08781,
    "h": 293.4
  },
  "luminance": 0.01118
}

Semantic roles & 50–950 ramp

primary
#211142
secondary
#647C33
accent
#E246AF
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050208
muted
#79787B

Preview Lab

Preview with #211142

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

Preview Lab → · Contrast checker → · Palette generator →

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