#210123#210123

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

Color values

HEX#210123
RGBrgb(33, 1, 35)
HSLhsl(296, 94%, 7%)
HSVhsv(296, 97%, 14%)
CMYKcmyk(5.7%, 97.1%, 0%, 86.3%)
CIE-LABlab(4.21, 20.25, -14.44)
CIE-LCHlch(4.21, 24.87, 324.50°)
OKLaboklab(17.77% 0.0652 -0.0443)
OKLCHoklch(17.77% 0.079 325.8)
XYZxyz(0.9414, 0.4665, 1.6302)
Luminance0.0047 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210123 #032301
analogous
#100123 #210123 #230114
triadic
#210123 #232101 #012321
tetradic
#210123 #231001 #032301 #011423
square
#210123 #231001 #032301 #011423
split-complementary
#210123 #142301 #012310
monochromatic
#1C011E #1C011E #210123 #59035F #91049A

Accessibility & contrast

On white

19.21
#210123 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#210123 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210123
19.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210123#FFFFFF#000000##FFFFFF
##2101231.0019.211.0919.21
#FFFFFF19.211.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C24
Deuteranopia (green-blind)
#071022
Tritanopia (blue-blind)
#220510
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #210123;
/* rgb */ color: rgb(33, 1, 35);
/* oklch */ color: oklch(17.8% 0.079 325.8);
Tailwind
colors: {
  custom: {
    50: '#5d465e',
    500: '#210123',
    950: '#000000',
  },
}
SCSS
$custom: #210123;
$custom-light: #5d465e;
$custom-dark: #000000;
JSON
{
  "hex": "#210123",
  "rgb": {
    "r": 33,
    "g": 1,
    "b": 35
  },
  "hsl": {
    "h": 296.471,
    "s": 94.444,
    "l": 7.059
  },
  "oklch": {
    "l": 0.17768,
    "c": 0.0788,
    "h": 325.8
  },
  "luminance": 0.00466
}

Semantic roles & 50–950 ramp

primary
#210123
secondary
#1B6A16
accent
#FF2935
background
#F5F3F5
surface
#E9E5E9
border
#C5C1C5
text
#040004
muted
#797779

Preview Lab

Preview with #210123

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

Preview Lab → · Contrast checker → · Palette generator →

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