#210229#210229

#210229 is a very dark, moderate purple. Relative luminance 0.005; OKLCH L 18.5% C 0.082 H 318.8°. Best body text is #FFFFFF at 19.00:1 contrast (WCAG AA passes).

Color values

HEX#210229
RGBrgb(33, 2, 41)
HSLhsl(288, 91%, 8%)
HSVhsv(288, 95%, 16%)
CMYKcmyk(19.5%, 95.1%, 0%, 83.9%)
CIE-LABlab(4.76, 21.85, -18.21)
CIE-LCHlch(4.76, 28.44, 320.18°)
OKLaboklab(18.5% 0.0618 -0.0541)
OKLCHoklch(18.5% 0.082 318.8)
XYZxyz(1.0491, 0.5269, 2.1438)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210229 #0A2902
analogous
#0D0229 #210229 #29021D
triadic
#210229 #292102 #022921
tetradic
#210229 #290D02 #0A2902 #021D29
square
#210229 #290D02 #0A2902 #021D29
split-complementary
#210229 #1D2902 #02290D
monochromatic
#17011D #17011D #210229 #500563 #7F089E

Accessibility & contrast

On white

19.00
#210229 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#210229 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210229
19.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210229#FFFFFF#000000##FFFFFF
##2102291.0019.001.1119.00
#FFFFFF19.001.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF19.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E2A
Deuteranopia (green-blind)
#031128
Tritanopia (blue-blind)
#210914
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #210229;
/* rgb */ color: rgb(33, 2, 41);
/* oklch */ color: oklch(18.5% 0.082 318.8);
Tailwind
colors: {
  custom: {
    50: '#5d4763',
    500: '#210229',
    950: '#000000',
  },
}
SCSS
$custom: #210229;
$custom-light: #5d4763;
$custom-dark: #000000;
JSON
{
  "hex": "#210229",
  "rgb": {
    "r": 33,
    "g": 2,
    "b": 41
  },
  "hsl": {
    "h": 287.692,
    "s": 90.698,
    "l": 8.431
  },
  "oklch": {
    "l": 0.18496,
    "c": 0.08209,
    "h": 318.8
  },
  "luminance": 0.00527
}

Semantic roles & 50–950 ramp

primary
#210229
secondary
#2A6E19
accent
#FF2955
background
#F5F4F5
surface
#E9E6EA
border
#C5C2C6
text
#040005
muted
#797779

Preview Lab

Preview with #210229

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

Preview Lab → · Contrast checker → · Palette generator →

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