#211457#211457

#211457 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.9% C 0.113 H 284.1°. Best body text is #FFFFFF at 16.12:1 contrast (WCAG AA passes).

Color values

HEX#211457
RGBrgb(33, 20, 87)
HSLhsl(252, 63%, 21%)
HSVhsv(252, 77%, 34%)
CMYKcmyk(62.1%, 77%, 0%, 65.9%)
CIE-LABlab(12.68, 26.97, -38.22)
CIE-LCHlch(12.68, 46.77, 305.21°)
OKLaboklab(25.9% 0.0276 -0.11)
OKLCHoklch(25.9% 0.113 284.1)
XYZxyz(2.5971, 1.5116, 9.1699)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211457 #4A5714
analogous
#142857 #211457 #421457
triadic
#211457 #572114 #145721
tetradic
#211457 #571428 #4A5714 #145742
square
#211457 #571428 #4A5714 #145742
split-complementary
#211457 #574214 #285714
monochromatic
#090619 #0E0925 #211457 #341F89 #472BBB

Accessibility & contrast

On white

16.12
#211457 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#211457 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211457
16.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211457#FFFFFF#000000##FFFFFF
##2114571.0016.121.3016.12
#FFFFFF16.121.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002359
Deuteranopia (green-blind)
#001F56
Tritanopia (blue-blind)
#052634
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #211457;
/* rgb */ color: rgb(33, 20, 87);
/* oklch */ color: oklch(25.9% 0.113 284.1);
Tailwind
colors: {
  custom: {
    50: '#645387',
    500: '#211457',
    950: '#000000',
  },
}
SCSS
$custom: #211457;
$custom-light: #645387;
$custom-dark: #000000;
JSON
{
  "hex": "#211457",
  "rgb": {
    "r": 33,
    "g": 20,
    "b": 87
  },
  "hsl": {
    "h": 251.642,
    "s": 62.617,
    "l": 20.98
  },
  "oklch": {
    "l": 0.25902,
    "c": 0.11343,
    "h": 284.1
  },
  "luminance": 0.01512
}

Semantic roles & 50–950 ramp

primary
#211457
secondary
#7E8F38
accent
#E642C6
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #211457

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

Preview Lab → · Contrast checker → · Palette generator →

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