#211362#211362

#211362 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 26.9% C 0.129 H 281.4°. Best body text is #FFFFFF at 15.74:1 contrast (WCAG AA passes).

Color values

HEX#211362
RGBrgb(33, 19, 98)
HSLhsl(251, 68%, 23%)
HSVhsv(251, 81%, 38%)
CMYKcmyk(66.3%, 80.6%, 0%, 61.6%)
CIE-LABlab(13.65, 31.31, -43.99)
CIE-LCHlch(13.65, 54.00, 305.44°)
OKLaboklab(26.95% 0.0255 -0.1269)
OKLCHoklch(26.95% 0.129 281.4)
XYZxyz(3.0640, 1.6707, 11.7139)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211362 #546213
analogous
#132C62 #211362 #481362
triadic
#211362 #622113 #136221
tetradic
#211362 #62132C #546213 #136248
square
#211362 #62132C #546213 #136248
split-complementary
#211362 #624813 #2C6213
monochromatic
#09051A #10092F #211362 #321D95 #4427C9

Accessibility & contrast

On white

15.74
#211362 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211362
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211362#FFFFFF#000000##FFFFFF
##2113621.0015.741.3315.74
#FFFFFF15.741.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002664
Deuteranopia (green-blind)
#002061
Tritanopia (blue-blind)
#002A3A
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #211362;
/* rgb */ color: rgb(33, 19, 98);
/* oklch */ color: oklch(26.9% 0.129 281.4);
Tailwind
colors: {
  custom: {
    50: '#665390',
    500: '#211362',
    950: '#000000',
  },
}
SCSS
$custom: #211362;
$custom-light: #665390;
$custom-dark: #000000;
JSON
{
  "hex": "#211362",
  "rgb": {
    "r": 33,
    "g": 19,
    "b": 98
  },
  "hsl": {
    "h": 250.633,
    "s": 67.521,
    "l": 22.941
  },
  "oklch": {
    "l": 0.26949,
    "c": 0.12945,
    "h": 281.4
  },
  "luminance": 0.01671
}

Semantic roles & 50–950 ramp

primary
#211362
secondary
#889A37
accent
#EA3DCC
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #211362

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

Preview Lab → · Contrast checker → · Palette generator →

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