#211656#211656

#211656 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.1% C 0.109 H 283.7°. Best body text is #FFFFFF at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#211656
RGBrgb(33, 22, 86)
HSLhsl(250, 59%, 21%)
HSVhsv(250, 74%, 34%)
CMYKcmyk(61.6%, 74.4%, 0%, 66.3%)
CIE-LABlab(13.04, 25.35, -36.95)
CIE-LCHlch(13.04, 44.81, 304.46°)
OKLaboklab(26.13% 0.0259 -0.1063)
OKLCHoklch(26.13% 0.109 283.7)
XYZxyz(2.5933, 1.5689, 8.9685)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211656 #4B5616
analogous
#162B56 #211656 #411656
triadic
#211656 #562116 #165621
tetradic
#211656 #56162B #4B5616 #165641
square
#211656 #56162B #4B5616 #165641
split-complementary
#211656 #564116 #2B5616
monochromatic
#090618 #0E0A25 #211656 #342287 #462FB7

Accessibility & contrast

On white

15.98
#211656 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#211656 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211656
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211656#FFFFFF#000000##FFFFFF
##2116561.0015.981.3115.98
#FFFFFF15.981.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002458
Deuteranopia (green-blind)
#001F55
Tritanopia (blue-blind)
#062734
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #211656;
/* rgb */ color: rgb(33, 22, 86);
/* oklch */ color: oklch(26.1% 0.109 283.7);
Tailwind
colors: {
  custom: {
    50: '#635486',
    500: '#211656',
    950: '#000000',
  },
}
SCSS
$custom: #211656;
$custom-light: #635486;
$custom-dark: #000000;
JSON
{
  "hex": "#211656",
  "rgb": {
    "r": 33,
    "g": 22,
    "b": 86
  },
  "hsl": {
    "h": 250.313,
    "s": 59.259,
    "l": 21.176
  },
  "oklch": {
    "l": 0.26127,
    "c": 0.10943,
    "h": 283.7
  },
  "luminance": 0.01569
}

Semantic roles & 50–950 ramp

primary
#211656
secondary
#7F8D3A
accent
#E245C7
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06030B
muted
#7A787C

Preview Lab

Preview with #211656

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

Preview Lab → · Contrast checker → · Palette generator →

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