#210126#210126

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

Color values

HEX#210126
RGBrgb(33, 1, 38)
HSLhsl(292, 95%, 8%)
HSVhsv(292, 97%, 15%)
CMYKcmyk(13.2%, 97.4%, 0%, 85.1%)
CIE-LABlab(4.38, 21.27, -16.51)
CIE-LCHlch(4.38, 26.92, 322.19°)
OKLaboklab(18.03% 0.0646 -0.0499)
OKLCHoklch(18.03% 0.082 322.3)
XYZxyz(0.9879, 0.4850, 1.8749)
Luminance0.0049 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210126 #062601
analogous
#0E0126 #210126 #260118
triadic
#210126 #262101 #012621
tetradic
#210126 #260E01 #062601 #011826
square
#210126 #260E01 #062601 #011826
split-complementary
#210126 #182601 #01260E
monochromatic
#1A011E #1A011E #210126 #550362 #89049D

Accessibility & contrast

On white

19.14
#210126 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #210126
19.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210126#FFFFFF#000000##FFFFFF
##2101261.0019.141.1019.14
#FFFFFF19.141.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D27
Deuteranopia (green-blind)
#051025
Tritanopia (blue-blind)
#220612
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #210126;
/* rgb */ color: rgb(33, 1, 38);
/* oklch */ color: oklch(18.0% 0.082 322.3);
Tailwind
colors: {
  custom: {
    50: '#5d4660',
    500: '#210126',
    950: '#000000',
  },
}
SCSS
$custom: #210126;
$custom-light: #5d4660;
$custom-dark: #000000;
JSON
{
  "hex": "#210126",
  "rgb": {
    "r": 33,
    "g": 1,
    "b": 38
  },
  "hsl": {
    "h": 291.892,
    "s": 94.872,
    "l": 7.647
  },
  "oklch": {
    "l": 0.18027,
    "c": 0.08165,
    "h": 322.3
  },
  "luminance": 0.00485
}

Semantic roles & 50–950 ramp

primary
#210126
secondary
#226D16
accent
#FF2946
background
#F5F3F5
surface
#E9E5E9
border
#C5C1C5
text
#040005
muted
#797779

Preview Lab

Preview with #210126

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

Preview Lab → · Contrast checker → · Palette generator →

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