#211451#211451

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

Color values

HEX#211451
RGBrgb(33, 20, 81)
HSLhsl(253, 60%, 20%)
HSVhsv(253, 75%, 32%)
CMYKcmyk(59.3%, 75.3%, 0%, 68.2%)
CIE-LABlab(12.07, 24.90, -35.13)
CIE-LCHlch(12.07, 43.06, 305.33°)
OKLaboklab(25.28% 0.0288 -0.101)
OKLCHoklch(25.28% 0.105 285.9)
XYZxyz(2.3621, 1.4176, 7.9321)
Luminance0.0142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211451 #445114
analogous
#142651 #211451 #401451
triadic
#211451 #512114 #145121
tetradic
#211451 #511426 #445114 #145140
square
#211451 #511426 #445114 #145140
split-complementary
#211451 #514014 #265114
monochromatic
#0A0619 #0D0820 #211451 #352082 #492CB3

Accessibility & contrast

On white

16.36
#211451 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#211451 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211451
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211451#FFFFFF#000000##FFFFFF
##2114511.0016.361.2816.36
#FFFFFF16.361.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002153
Deuteranopia (green-blind)
#001E50
Tritanopia (blue-blind)
#0C2430
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #211451;
/* rgb */ color: rgb(33, 20, 81);
/* oklch */ color: oklch(25.3% 0.105 285.9);
Tailwind
colors: {
  custom: {
    50: '#625282',
    500: '#211451',
    950: '#000000',
  },
}
SCSS
$custom: #211451;
$custom-light: #625282;
$custom-dark: #000000;
JSON
{
  "hex": "#211451",
  "rgb": {
    "r": 33,
    "g": 20,
    "b": 81
  },
  "hsl": {
    "h": 252.787,
    "s": 60.396,
    "l": 19.804
  },
  "oklch": {
    "l": 0.25282,
    "c": 0.10501,
    "h": 285.9
  },
  "luminance": 0.01418
}

Semantic roles & 50–950 ramp

primary
#211451
secondary
#788938
accent
#E444C2
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#05020A
muted
#7A787C

Preview Lab

Preview with #211451

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

Preview Lab → · Contrast checker → · Palette generator →

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