#211262#211262

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

Color values

HEX#211262
RGBrgb(33, 18, 98)
HSLhsl(251, 69%, 23%)
HSVhsv(251, 82%, 38%)
CMYKcmyk(66.3%, 81.6%, 0%, 61.6%)
CIE-LABlab(13.46, 31.87, -44.32)
CIE-LCHlch(13.46, 54.59, 305.72°)
OKLaboklab(26.81% 0.0263 -0.1278)
OKLCHoklch(26.81% 0.131 281.6)
XYZxyz(3.0474, 1.6376, 11.7084)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211262 #536212
analogous
#122B62 #211262 #491262
triadic
#211262 #622112 #126221
tetradic
#211262 #62122B #536212 #126249
square
#211262 #62122B #536212 #126249
split-complementary
#211262 #624912 #2B6212
monochromatic
#09051A #10092E #211262 #321B96 #4425C9

Accessibility & contrast

On white

15.82
#211262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211262
15.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211262#FFFFFF#000000##FFFFFF
##2112621.0015.821.3315.82
#FFFFFF15.821.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002564
Deuteranopia (green-blind)
#002061
Tritanopia (blue-blind)
#002939
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #211262;
/* rgb */ color: rgb(33, 18, 98);
/* oklch */ color: oklch(26.8% 0.131 281.6);
Tailwind
colors: {
  custom: {
    50: '#665290',
    500: '#211262',
    950: '#000000',
  },
}
SCSS
$custom: #211262;
$custom-light: #665290;
$custom-dark: #000000;
JSON
{
  "hex": "#211262",
  "rgb": {
    "r": 33,
    "g": 18,
    "b": 98
  },
  "hsl": {
    "h": 251.25,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.2681,
    "c": 0.13052,
    "h": 281.6
  },
  "luminance": 0.01638
}

Semantic roles & 50–950 ramp

primary
#211262
secondary
#879A36
accent
#EC3CCB
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #211262

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

Preview Lab → · Contrast checker → · Palette generator →

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