#211552#211552

#211552 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.6% C 0.105 H 285.2°. Best body text is #FFFFFF at 16.23:1 contrast (WCAG AA passes).

Color values

HEX#211552
RGBrgb(33, 21, 82)
HSLhsl(252, 59%, 20%)
HSVhsv(252, 74%, 32%)
CMYKcmyk(59.8%, 74.4%, 0%, 67.8%)
CIE-LABlab(12.41, 24.60, -35.26)
CIE-LCHlch(12.41, 43.00, 304.90°)
OKLaboklab(25.55% 0.0276 -0.1014)
OKLCHoklch(25.55% 0.105 285.2)
XYZxyz(2.4179, 1.4687, 8.1371)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211552 #465215
analogous
#152852 #211552 #3F1552
triadic
#211552 #522115 #155221
tetradic
#211552 #521528 #465215 #15523F
square
#211552 #521528 #465215 #15523F
split-complementary
#211552 #523F15 #285215
monochromatic
#0A0618 #0D0921 #211552 #352183 #482EB3

Accessibility & contrast

On white

16.23
#211552 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211552
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211552#FFFFFF#000000##FFFFFF
##2115521.0016.231.2916.23
#FFFFFF16.231.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002254
Deuteranopia (green-blind)
#001E51
Tritanopia (blue-blind)
#0B2531
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #211552;
/* rgb */ color: rgb(33, 21, 82);
/* oklch */ color: oklch(25.6% 0.105 285.2);
Tailwind
colors: {
  custom: {
    50: '#625383',
    500: '#211552',
    950: '#000000',
  },
}
SCSS
$custom: #211552;
$custom-light: #625383;
$custom-dark: #000000;
JSON
{
  "hex": "#211552",
  "rgb": {
    "r": 33,
    "g": 21,
    "b": 82
  },
  "hsl": {
    "h": 251.803,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.25552,
    "c": 0.10508,
    "h": 285.2
  },
  "luminance": 0.01469
}

Semantic roles & 50–950 ramp

primary
#211552
secondary
#7A8A39
accent
#E245C4
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #211552

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

Preview Lab → · Contrast checker → · Palette generator →

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