#211458#211458

#211458 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 26.0% C 0.115 H 283.8°. Best body text is #FFFFFF at 16.08:1 contrast (WCAG AA passes).

Color values

HEX#211458
RGBrgb(33, 20, 88)
HSLhsl(251, 63%, 21%)
HSVhsv(251, 77%, 35%)
CMYKcmyk(62.5%, 77.3%, 0%, 65.5%)
CIE-LABlab(12.79, 27.31, -38.72)
CIE-LCHlch(12.79, 47.39, 305.20°)
OKLaboklab(26.01% 0.0273 -0.1115)
OKLCHoklch(26.01% 0.115 283.8)
XYZxyz(2.6383, 1.5281, 9.3865)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211458 #4B5814
analogous
#142958 #211458 #431458
triadic
#211458 #582114 #145821
tetradic
#211458 #581429 #4B5814 #145843
square
#211458 #581429 #4B5814 #145843
split-complementary
#211458 #584314 #295814
monochromatic
#090619 #0E0926 #211458 #341F8A #462BBC

Accessibility & contrast

On white

16.08
#211458 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211458
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211458#FFFFFF#000000##FFFFFF
##2114581.0016.081.3116.08
#FFFFFF16.081.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235A
Deuteranopia (green-blind)
#001F57
Tritanopia (blue-blind)
#042634
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #211458;
/* rgb */ color: rgb(33, 20, 88);
/* oklch */ color: oklch(26.0% 0.115 283.8);
Tailwind
colors: {
  custom: {
    50: '#645388',
    500: '#211458',
    950: '#000000',
  },
}
SCSS
$custom: #211458;
$custom-light: #645388;
$custom-dark: #000000;
JSON
{
  "hex": "#211458",
  "rgb": {
    "r": 33,
    "g": 20,
    "b": 88
  },
  "hsl": {
    "h": 251.471,
    "s": 62.963,
    "l": 21.176
  },
  "oklch": {
    "l": 0.26008,
    "c": 0.11481,
    "h": 283.8
  },
  "luminance": 0.01528
}

Semantic roles & 50–950 ramp

primary
#211458
secondary
#7F9038
accent
#E642C7
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020B
muted
#7A787C

Preview Lab

Preview with #211458

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

Preview Lab → · Contrast checker → · Palette generator →

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