#211654#211654

#211654 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.9% C 0.107 H 284.3°. Best body text is #FFFFFF at 16.06:1 contrast (WCAG AA passes).

Color values

HEX#211654
RGBrgb(33, 22, 84)
HSLhsl(251, 58%, 21%)
HSVhsv(251, 74%, 33%)
CMYKcmyk(60.7%, 73.8%, 0%, 67.1%)
CIE-LABlab(12.84, 24.65, -35.92)
CIE-LCHlch(12.84, 43.56, 304.47°)
OKLaboklab(25.92% 0.0262 -0.1033)
OKLCHoklch(25.92% 0.107 284.3)
XYZxyz(2.5139, 1.5371, 8.5500)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211654 #495416
analogous
#162A54 #211654 #401654
triadic
#211654 #542116 #165421
tetradic
#211654 #54162A #495416 #165440
square
#211654 #54162A #495416 #165440
split-complementary
#211654 #544016 #2A5416
monochromatic
#0A0618 #0E0924 #211654 #342384 #472FB5

Accessibility & contrast

On white

16.06
#211654 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211654
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211654#FFFFFF#000000##FFFFFF
##2116541.0016.061.3116.06
#FFFFFF16.061.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002356
Deuteranopia (green-blind)
#001F53
Tritanopia (blue-blind)
#092633
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #211654;
/* rgb */ color: rgb(33, 22, 84);
/* oklch */ color: oklch(25.9% 0.107 284.3);
Tailwind
colors: {
  custom: {
    50: '#635485',
    500: '#211654',
    950: '#000000',
  },
}
SCSS
$custom: #211654;
$custom-light: #635485;
$custom-dark: #000000;
JSON
{
  "hex": "#211654",
  "rgb": {
    "r": 33,
    "g": 22,
    "b": 84
  },
  "hsl": {
    "h": 250.645,
    "s": 58.491,
    "l": 20.784
  },
  "oklch": {
    "l": 0.25924,
    "c": 0.10657,
    "h": 284.3
  },
  "luminance": 0.01537
}

Semantic roles & 50–950 ramp

primary
#211654
secondary
#7D8B3A
accent
#E246C6
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #211654

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

Preview Lab → · Contrast checker → · Palette generator →

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