#210128#210128

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

Color values

HEX#210128
RGBrgb(33, 1, 40)
HSLhsl(289, 95%, 8%)
HSVhsv(289, 98%, 16%)
CMYKcmyk(17.5%, 97.5%, 0%, 84.3%)
CIE-LABlab(4.50, 21.96, -17.86)
CIE-LCHlch(4.50, 28.30, 320.88°)
OKLaboklab(18.21% 0.0642 -0.0536)
OKLCHoklch(18.21% 0.084 320.2)
XYZxyz(1.0210, 0.4983, 2.0495)
Luminance0.0050 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210128 #082801
analogous
#0D0128 #210128 #28011B
triadic
#210128 #282101 #012821
tetradic
#210128 #280D01 #082801 #011B28
square
#210128 #280D01 #082801 #011B28
split-complementary
#210128 #1B2801 #01280D
monochromatic
#19011E #19011E #210128 #520264 #84049F

Accessibility & contrast

On white

19.10
#210128 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #210128
19.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210128#FFFFFF#000000##FFFFFF
##2101281.0019.101.1019.10
#FFFFFF19.101.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #210128;
/* rgb */ color: rgb(33, 1, 40);
/* oklch */ color: oklch(18.2% 0.084 320.2);
Tailwind
colors: {
  custom: {
    50: '#5d4662',
    500: '#210128',
    950: '#000000',
  },
}
SCSS
$custom: #210128;
$custom-light: #5d4662;
$custom-dark: #000000;
JSON
{
  "hex": "#210128",
  "rgb": {
    "r": 33,
    "g": 1,
    "b": 40
  },
  "hsl": {
    "h": 289.231,
    "s": 95.122,
    "l": 8.039
  },
  "oklch": {
    "l": 0.18207,
    "c": 0.08359,
    "h": 320.2
  },
  "luminance": 0.00498
}

Semantic roles & 50–950 ramp

primary
#210128
secondary
#266F16
accent
#FF294F
background
#F5F3F5
surface
#E9E5EA
border
#C5C1C6
text
#040005
muted
#797779

Preview Lab

Preview with #210128

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

Preview Lab → · Contrast checker → · Palette generator →

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