#211352#211352

#211352 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.2% C 0.108 H 286.0°. Best body text is #FFFFFF at 16.41:1 contrast (WCAG AA passes).

Color values

HEX#211352
RGBrgb(33, 19, 82)
HSLhsl(253, 62%, 20%)
HSVhsv(253, 77%, 32%)
CMYKcmyk(59.8%, 76.8%, 0%, 67.8%)
CIE-LABlab(11.95, 25.88, -36.02)
CIE-LCHlch(11.95, 44.35, 305.70°)
OKLaboklab(25.22% 0.0296 -0.1036)
OKLCHoklch(25.22% 0.108 286)
XYZxyz(2.3826, 1.3981, 8.1253)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211352 #445213
analogous
#132552 #211352 #401352
triadic
#211352 #522113 #135221
tetradic
#211352 #521325 #445213 #135240
square
#211352 #521325 #445213 #135240
split-complementary
#211352 #524013 #255213
monochromatic
#0A0619 #0D0720 #211352 #351F84 #492AB5

Accessibility & contrast

On white

16.41
#211352 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211352
16.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211352#FFFFFF#000000##FFFFFF
##2113521.0016.411.2816.41
#FFFFFF16.411.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002154
Deuteranopia (green-blind)
#001E51
Tritanopia (blue-blind)
#0C2431
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #211352;
/* rgb */ color: rgb(33, 19, 82);
/* oklch */ color: oklch(25.2% 0.108 286.0);
Tailwind
colors: {
  custom: {
    50: '#635283',
    500: '#211352',
    950: '#000000',
  },
}
SCSS
$custom: #211352;
$custom-light: #635283;
$custom-dark: #000000;
JSON
{
  "hex": "#211352",
  "rgb": {
    "r": 33,
    "g": 19,
    "b": 82
  },
  "hsl": {
    "h": 253.333,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.25221,
    "c": 0.10775,
    "h": 286
  },
  "luminance": 0.01398
}

Semantic roles & 50–950 ramp

primary
#211352
secondary
#788A36
accent
#E542C1
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #211352

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

Preview Lab → · Contrast checker → · Palette generator →

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