#210226#210226

#210226 is a very dark, moderate purple. Relative luminance 0.005; OKLCH L 18.2% C 0.079 H 322.1°. Best body text is #FFFFFF at 19.07:1 contrast (WCAG AA passes).

Color values

HEX#210226
RGBrgb(33, 2, 38)
HSLhsl(292, 90%, 8%)
HSVhsv(292, 95%, 15%)
CMYKcmyk(13.2%, 94.7%, 0%, 85.1%)
CIE-LABlab(4.58, 20.82, -16.20)
CIE-LCHlch(4.58, 26.38, 322.11°)
OKLaboklab(18.23% 0.0624 -0.0486)
OKLCHoklch(18.23% 0.079 322.1)
XYZxyz(0.9987, 0.5067, 1.8786)
Luminance0.0051 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210226 #072602
analogous
#0F0226 #210226 #260219
triadic
#210226 #262102 #022621
tetradic
#210226 #260F02 #072602 #021926
square
#210226 #260F02 #072602 #021926
split-complementary
#210226 #192602 #02260F
monochromatic
#19021D #19021D #210226 #530560 #86089A

Accessibility & contrast

On white

19.07
#210226 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#210226 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210226
19.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210226#FFFFFF#000000##FFFFFF
##2102261.0019.071.1019.07
#FFFFFF19.071.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D27
Deuteranopia (green-blind)
#061125
Tritanopia (blue-blind)
#210713
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #210226;
/* rgb */ color: rgb(33, 2, 38);
/* oklch */ color: oklch(18.2% 0.079 322.1);
Tailwind
colors: {
  custom: {
    50: '#5d4760',
    500: '#210226',
    950: '#000000',
  },
}
SCSS
$custom: #210226;
$custom-light: #5d4760;
$custom-dark: #000000;
JSON
{
  "hex": "#210226",
  "rgb": {
    "r": 33,
    "g": 2,
    "b": 38
  },
  "hsl": {
    "h": 291.667,
    "s": 90,
    "l": 7.843
  },
  "oklch": {
    "l": 0.1823,
    "c": 0.07904,
    "h": 322.1
  },
  "luminance": 0.00507
}

Semantic roles & 50–950 ramp

primary
#210226
secondary
#246B18
accent
#FF2947
background
#F5F4F5
surface
#E9E6E9
border
#C5C2C5
text
#040005
muted
#797779

Preview Lab

Preview with #210226

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

Preview Lab → · Contrast checker → · Palette generator →

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