#211154#211154

#211154 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.1% C 0.113 H 285.9°. Best body text is #FFFFFF at 16.50:1 contrast (WCAG AA passes).

Color values

HEX#211154
RGBrgb(33, 17, 84)
HSLhsl(254, 66%, 20%)
HSVhsv(254, 80%, 33%)
CMYKcmyk(60.7%, 79.8%, 0%, 67.1%)
CIE-LABlab(11.72, 27.77, -37.76)
CIE-LCHlch(11.72, 46.87, 306.34°)
OKLaboklab(25.12% 0.031 -0.1087)
OKLCHoklch(25.12% 0.113 285.9)
XYZxyz(2.4274, 1.3642, 8.5212)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211154 #445411
analogous
#112354 #211154 #421154
triadic
#211154 #542111 #115421
tetradic
#211154 #541123 #445411 #115442
square
#211154 #541123 #445411 #115442
split-complementary
#211154 #544211 #235411
monochromatic
#0A0519 #0D0721 #211154 #351B87 #4926BA

Accessibility & contrast

On white

16.50
#211154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#211154 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211154
16.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211154#FFFFFF#000000##FFFFFF
##2111541.0016.501.2716.50
#FFFFFF16.501.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002156
Deuteranopia (green-blind)
#001D53
Tritanopia (blue-blind)
#092331
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #211154;
/* rgb */ color: rgb(33, 17, 84);
/* oklch */ color: oklch(25.1% 0.113 285.9);
Tailwind
colors: {
  custom: {
    50: '#635185',
    500: '#211154',
    950: '#000000',
  },
}
SCSS
$custom: #211154;
$custom-light: #635185;
$custom-dark: #000000;
JSON
{
  "hex": "#211154",
  "rgb": {
    "r": 33,
    "g": 17,
    "b": 84
  },
  "hsl": {
    "h": 254.328,
    "s": 66.337,
    "l": 19.804
  },
  "oklch": {
    "l": 0.25123,
    "c": 0.11301,
    "h": 285.9
  },
  "luminance": 0.01364
}

Semantic roles & 50–950 ramp

primary
#211154
secondary
#788D34
accent
#E93FC0
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #211154

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

Preview Lab → · Contrast checker → · Palette generator →

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