#211456#211456

#211456 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.8% C 0.112 H 284.4°. Best body text is #FFFFFF at 16.16:1 contrast (WCAG AA passes).

Color values

HEX#211456
RGBrgb(33, 20, 86)
HSLhsl(252, 62%, 21%)
HSVhsv(252, 77%, 34%)
CMYKcmyk(61.6%, 76.7%, 0%, 66.3%)
CIE-LABlab(12.58, 26.63, -37.71)
CIE-LCHlch(12.58, 46.16, 305.23°)
OKLaboklab(25.8% 0.0278 -0.1085)
OKLCHoklch(25.8% 0.112 284.4)
XYZxyz(2.5566, 1.4954, 8.9562)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211456 #495614
analogous
#142856 #211456 #421456
triadic
#211456 #562114 #145621
tetradic
#211456 #561428 #495614 #145642
square
#211456 #561428 #495614 #145642
split-complementary
#211456 #564214 #285614
monochromatic
#0A0619 #0E0824 #211456 #342088 #472BB9

Accessibility & contrast

On white

16.16
#211456 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#211456 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211456
16.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211456#FFFFFF#000000##FFFFFF
##2114561.0016.161.3016.16
#FFFFFF16.161.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002358
Deuteranopia (green-blind)
#001F55
Tritanopia (blue-blind)
#062633
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #211456;
/* rgb */ color: rgb(33, 20, 86);
/* oklch */ color: oklch(25.8% 0.112 284.4);
Tailwind
colors: {
  custom: {
    50: '#635386',
    500: '#211456',
    950: '#000000',
  },
}
SCSS
$custom: #211456;
$custom-light: #635386;
$custom-dark: #000000;
JSON
{
  "hex": "#211456",
  "rgb": {
    "r": 33,
    "g": 20,
    "b": 86
  },
  "hsl": {
    "h": 251.818,
    "s": 62.264,
    "l": 20.784
  },
  "oklch": {
    "l": 0.25797,
    "c": 0.11204,
    "h": 284.4
  },
  "luminance": 0.01496
}

Semantic roles & 50–950 ramp

primary
#211456
secondary
#7D8E38
accent
#E542C5
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #211456

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

Preview Lab → · Contrast checker → · Palette generator →

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