#210028#210028

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

Color values

HEX#210028
RGBrgb(33, 0, 40)
HSLhsl(290, 100%, 8%)
HSVhsv(290, 100%, 16%)
CMYKcmyk(17.5%, 100%, 0%, 84.3%)
CIE-LABlab(4.31, 22.41, -18.16)
CIE-LCHlch(4.31, 28.85, 320.98°)
OKLaboklab(18% 0.0665 -0.0549)
OKLCHoklch(18% 0.086 320.4)
XYZxyz(1.0102, 0.4766, 2.0459)
Luminance0.0048 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210028 #072800
analogous
#0D0028 #210028 #28001B
triadic
#210028 #282100 #002821
tetradic
#210028 #280D00 #072800 #001B28
square
#210028 #280D00 #072800 #001B28
split-complementary
#210028 #1B2800 #00280D
monochromatic
#19001F #19001F #210028 #530065 #8600A2

Accessibility & contrast

On white

19.17
#210028 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #210028
19.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210028#FFFFFF#000000##FFFFFF
##2100281.0019.171.1019.17
#FFFFFF19.171.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C29
Deuteranopia (green-blind)
#021027
Tritanopia (blue-blind)
#210613
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #210028;
/* rgb */ color: rgb(33, 0, 40);
/* oklch */ color: oklch(18.0% 0.086 320.4);
Tailwind
colors: {
  custom: {
    50: '#5d4662',
    500: '#210028',
    950: '#000000',
  },
}
SCSS
$custom: #210028;
$custom-light: #5d4662;
$custom-dark: #000000;
JSON
{
  "hex": "#210028",
  "rgb": {
    "r": 33,
    "g": 0,
    "b": 40
  },
  "hsl": {
    "h": 289.5,
    "s": 100,
    "l": 7.843
  },
  "oklch": {
    "l": 0.18004,
    "c": 0.08621,
    "h": 320.4
  },
  "luminance": 0.00477
}

Semantic roles & 50–950 ramp

primary
#210028
secondary
#247014
accent
#FF294E
background
#F5F3F5
surface
#E9E5EA
border
#C5C1C6
text
#040005
muted
#797779

Preview Lab

Preview with #210028

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

Preview Lab → · Contrast checker → · Palette generator →

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