#211354#211354

#211354 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.4% C 0.111 H 285.3°. Best body text is #FFFFFF at 16.33:1 contrast (WCAG AA passes).

Color values

HEX#211354
RGBrgb(33, 19, 84)
HSLhsl(253, 63%, 20%)
HSVhsv(253, 77%, 33%)
CMYKcmyk(60.7%, 77.4%, 0%, 67.1%)
CIE-LABlab(12.15, 26.56, -37.05)
CIE-LCHlch(12.15, 45.59, 305.64°)
OKLaboklab(25.43% 0.0292 -0.1066)
OKLCHoklch(25.43% 0.111 285.3)
XYZxyz(2.4598, 1.4290, 8.5320)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211354 #465413
analogous
#132554 #211354 #411354
triadic
#211354 #542113 #135421
tetradic
#211354 #541325 #465413 #135441
square
#211354 #541325 #465413 #135441
split-complementary
#211354 #544113 #255413
monochromatic
#0A0619 #0D0822 #211354 #351E86 #482AB8

Accessibility & contrast

On white

16.33
#211354 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211354
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211354#FFFFFF#000000##FFFFFF
##2113541.0016.331.2916.33
#FFFFFF16.331.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #211354;
/* rgb */ color: rgb(33, 19, 84);
/* oklch */ color: oklch(25.4% 0.111 285.3);
Tailwind
colors: {
  custom: {
    50: '#635285',
    500: '#211354',
    950: '#000000',
  },
}
SCSS
$custom: #211354;
$custom-light: #635285;
$custom-dark: #000000;
JSON
{
  "hex": "#211354",
  "rgb": {
    "r": 33,
    "g": 19,
    "b": 84
  },
  "hsl": {
    "h": 252.923,
    "s": 63.107,
    "l": 20.196
  },
  "oklch": {
    "l": 0.25429,
    "c": 0.11053,
    "h": 285.3
  },
  "luminance": 0.01429
}

Semantic roles & 50–950 ramp

primary
#211354
secondary
#7A8C36
accent
#E642C3
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #211354

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

Preview Lab → · Contrast checker → · Palette generator →

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