#211462#211462

#211462 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.1% C 0.128 H 281.1°. Best body text is #FFFFFF at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#211462
RGBrgb(33, 20, 98)
HSLhsl(250, 66%, 23%)
HSVhsv(250, 80%, 38%)
CMYKcmyk(66.3%, 79.6%, 0%, 61.6%)
CIE-LABlab(13.86, 30.73, -43.66)
CIE-LCHlch(13.86, 53.39, 305.14°)
OKLaboklab(27.09% 0.0248 -0.1259)
OKLCHoklch(27.09% 0.128 281.1)
XYZxyz(3.0813, 1.7053, 11.7197)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211462 #556214
analogous
#142E62 #211462 #481462
triadic
#211462 #622114 #146221
tetradic
#211462 #62142E #556214 #146248
square
#211462 #62142E #556214 #146248
split-complementary
#211462 #624814 #2E6214
monochromatic
#090519 #100A2F #211462 #321E95 #4329C8

Accessibility & contrast

On white

15.66
#211462 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#211462 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211462
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211462#FFFFFF#000000##FFFFFF
##2114621.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002664
Deuteranopia (green-blind)
#002061
Tritanopia (blue-blind)
#002A3A
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #211462;
/* rgb */ color: rgb(33, 20, 98);
/* oklch */ color: oklch(27.1% 0.128 281.1);
Tailwind
colors: {
  custom: {
    50: '#665390',
    500: '#211462',
    950: '#000000',
  },
}
SCSS
$custom: #211462;
$custom-light: #665390;
$custom-dark: #000000;
JSON
{
  "hex": "#211462",
  "rgb": {
    "r": 33,
    "g": 20,
    "b": 98
  },
  "hsl": {
    "h": 250,
    "s": 66.102,
    "l": 23.137
  },
  "oklch": {
    "l": 0.27092,
    "c": 0.12836,
    "h": 281.1
  },
  "luminance": 0.01705
}

Semantic roles & 50–950 ramp

primary
#211462
secondary
#899938
accent
#E93FCD
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #211462

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

Preview Lab → · Contrast checker → · Palette generator →

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