#211266#211266

#211266 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.3% C 0.136 H 280.6°. Best body text is #FFFFFF at 15.64:1 contrast (WCAG AA passes).

Color values

HEX#211266
RGBrgb(33, 18, 102)
HSLhsl(251, 70%, 24%)
HSVhsv(251, 82%, 40%)
CMYKcmyk(67.6%, 82.4%, 0%, 60%)
CIE-LABlab(13.91, 33.20, -46.21)
CIE-LCHlch(13.91, 56.90, 305.69°)
OKLaboklab(27.27% 0.025 -0.1334)
OKLCHoklch(27.27% 0.136 280.6)
XYZxyz(3.2410, 1.7150, 12.7280)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211266 #576612
analogous
#122D66 #211266 #4B1266
triadic
#211266 #662112 #126621
tetradic
#211266 #66122D #576612 #12664B
square
#211266 #66122D #576612 #12664B
split-complementary
#211266 #664B12 #2D6612
monochromatic
#08051A #100932 #211266 #321B9A #4324CE

Accessibility & contrast

On white

15.64
#211266 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#211266 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211266
15.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211266#FFFFFF#000000##FFFFFF
##2112661.0015.641.3415.64
#FFFFFF15.641.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002668
Deuteranopia (green-blind)
#002065
Tritanopia (blue-blind)
#002B3C
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #211266;
/* rgb */ color: rgb(33, 18, 102);
/* oklch */ color: oklch(27.3% 0.136 280.6);
Tailwind
colors: {
  custom: {
    50: '#675293',
    500: '#211266',
    950: '#000000',
  },
}
SCSS
$custom: #211266;
$custom-light: #675293;
$custom-dark: #000000;
JSON
{
  "hex": "#211266",
  "rgb": {
    "r": 33,
    "g": 18,
    "b": 102
  },
  "hsl": {
    "h": 250.714,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.27266,
    "c": 0.13571,
    "h": 280.6
  },
  "luminance": 0.01715
}

Semantic roles & 50–950 ramp

primary
#211266
secondary
#8B9E36
accent
#ED3BCD
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #211266

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

Preview Lab → · Contrast checker → · Palette generator →

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