#211264#211264

#211264 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.0% C 0.133 H 281.1°. Best body text is #FFFFFF at 15.73:1 contrast (WCAG AA passes).

Color values

HEX#211264
RGBrgb(33, 18, 100)
HSLhsl(251, 69%, 23%)
HSVhsv(251, 82%, 39%)
CMYKcmyk(67%, 82%, 0%, 60.8%)
CIE-LABlab(13.68, 32.54, -45.27)
CIE-LCHlch(13.68, 55.75, 305.70°)
OKLaboklab(27.04% 0.0257 -0.1306)
OKLCHoklch(27.04% 0.133 281.1)
XYZxyz(3.1430, 1.6758, 12.2120)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211264 #556412
analogous
#122C64 #211264 #4A1264
triadic
#211264 #642112 #126421
tetradic
#211264 #64122C #556412 #12644A
square
#211264 #64122C #556412 #12644A
split-complementary
#211264 #644A12 #2C6412
monochromatic
#09051A #100930 #211264 #321B98 #4325CC

Accessibility & contrast

On white

15.73
#211264 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211264
15.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211264#FFFFFF#000000##FFFFFF
##2112641.0015.731.3415.73
#FFFFFF15.731.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #211264;
/* rgb */ color: rgb(33, 18, 100);
/* oklch */ color: oklch(27.0% 0.133 281.1);
Tailwind
colors: {
  custom: {
    50: '#675291',
    500: '#211264',
    950: '#000000',
  },
}
SCSS
$custom: #211264;
$custom-light: #675291;
$custom-dark: #000000;
JSON
{
  "hex": "#211264",
  "rgb": {
    "r": 33,
    "g": 18,
    "b": 100
  },
  "hsl": {
    "h": 250.976,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.27037,
    "c": 0.13312,
    "h": 281.1
  },
  "luminance": 0.01676
}

Semantic roles & 50–950 ramp

primary
#211264
secondary
#899C36
accent
#EC3BCC
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #211264

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

Preview Lab → · Contrast checker → · Palette generator →

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