#211454#211454

#211454 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.6% C 0.109 H 285.0°. Best body text is #FFFFFF at 16.24:1 contrast (WCAG AA passes).

Color values

HEX#211454
RGBrgb(33, 20, 84)
HSLhsl(252, 62%, 20%)
HSVhsv(252, 76%, 33%)
CMYKcmyk(60.7%, 76.2%, 0%, 67.1%)
CIE-LABlab(12.37, 25.94, -36.68)
CIE-LCHlch(12.37, 44.93, 305.26°)
OKLaboklab(25.59% 0.0282 -0.1055)
OKLCHoklch(25.59% 0.109 285)
XYZxyz(2.4771, 1.4636, 8.5378)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211454 #475414
analogous
#142754 #211454 #411454
triadic
#211454 #542114 #145421
tetradic
#211454 #541427 #475414 #145441
square
#211454 #541427 #475414 #145441
split-complementary
#211454 #544114 #275414
monochromatic
#0A0619 #0E0823 #211454 #342085 #482CB7

Accessibility & contrast

On white

16.24
#211454 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#211454 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211454
16.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211454#FFFFFF#000000##FFFFFF
##2114541.0016.241.2916.24
#FFFFFF16.241.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002256
Deuteranopia (green-blind)
#001E53
Tritanopia (blue-blind)
#092532
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #211454;
/* rgb */ color: rgb(33, 20, 84);
/* oklch */ color: oklch(25.6% 0.109 285.0);
Tailwind
colors: {
  custom: {
    50: '#635385',
    500: '#211454',
    950: '#000000',
  },
}
SCSS
$custom: #211454;
$custom-light: #635385;
$custom-dark: #000000;
JSON
{
  "hex": "#211454",
  "rgb": {
    "r": 33,
    "g": 20,
    "b": 84
  },
  "hsl": {
    "h": 252.188,
    "s": 61.538,
    "l": 20.392
  },
  "oklch": {
    "l": 0.25589,
    "c": 0.10924,
    "h": 285
  },
  "luminance": 0.01464
}

Semantic roles & 50–950 ramp

primary
#211454
secondary
#7B8C38
accent
#E543C4
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #211454

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

Preview Lab → · Contrast checker → · Palette generator →

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