#210332#210332

#210332 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.5% C 0.089 H 309.9°. Best body text is #FFFFFF at 18.69:1 contrast (WCAG AA passes).

Color values

HEX#210332
RGBrgb(33, 3, 50)
HSLhsl(278, 89%, 10%)
HSVhsv(278, 94%, 20%)
CMYKcmyk(34%, 94%, 0%, 80.4%)
CIE-LABlab(5.59, 24.50, -23.66)
CIE-LCHlch(5.59, 34.06, 316.00°)
OKLaboklab(19.54% 0.0573 -0.0686)
OKLCHoklch(19.54% 0.089 309.9)
XYZxyz(1.2354, 0.6188, 3.0714)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210332 #143203
analogous
#0A0332 #210332 #32032B
triadic
#210332 #322103 #033221
tetradic
#210332 #320A03 #143203 #032B32
square
#210332 #320A03 #143203 #032B32
split-complementary
#210332 #2B3203 #03320A
monochromatic
#13021D #13021D #210332 #47066C #6D0AA5

Accessibility & contrast

On white

18.69
#210332 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#210332 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210332
18.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210332#FFFFFF#000000##FFFFFF
##2103321.0018.691.1218.69
#FFFFFF18.691.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001133
Deuteranopia (green-blind)
#001331
Tritanopia (blue-blind)
#1E0E1A
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #210332;
/* rgb */ color: rgb(33, 3, 50);
/* oklch */ color: oklch(19.5% 0.089 309.9);
Tailwind
colors: {
  custom: {
    50: '#5e476a',
    500: '#210332',
    950: '#000000',
  },
}
SCSS
$custom: #210332;
$custom-light: #5e476a;
$custom-dark: #000000;
JSON
{
  "hex": "#210332",
  "rgb": {
    "r": 33,
    "g": 3,
    "b": 50
  },
  "hsl": {
    "h": 278.298,
    "s": 88.679,
    "l": 10.392
  },
  "oklch": {
    "l": 0.19537,
    "c": 0.08941,
    "h": 309.9
  },
  "luminance": 0.00619
}

Semantic roles & 50–950 ramp

primary
#210332
secondary
#3C751B
accent
#FF2976
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#050006
muted
#79777A

Preview Lab

Preview with #210332

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

Preview Lab → · Contrast checker → · Palette generator →

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