#210027#210027

#210027 is a very dark, moderate purple. Relative luminance 0.005; OKLCH L 17.9% C 0.085 H 321.5°. Best body text is #FFFFFF at 19.20:1 contrast (WCAG AA passes).

Color values

HEX#210027
RGBrgb(33, 0, 39)
HSLhsl(291, 100%, 8%)
HSVhsv(291, 100%, 15%)
CMYKcmyk(15.4%, 100%, 0%, 84.7%)
CIE-LABlab(4.24, 22.06, -17.49)
CIE-LCHlch(4.24, 28.15, 321.59°)
OKLaboklab(17.91% 0.0667 -0.0531)
OKLCHoklch(17.91% 0.085 321.5)
XYZxyz(0.9934, 0.4699, 1.9574)
Luminance0.0047 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210027 #062700
analogous
#0D0027 #210027 #270019
triadic
#210027 #272100 #002721
tetradic
#210027 #270D00 #062700 #001927
square
#210027 #270D00 #062700 #001927
split-complementary
#210027 #192700 #00270D
monochromatic
#1A001F #1A001F #210027 #550064 #8900A1

Accessibility & contrast

On white

19.20
#210027 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #210027
19.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210027#FFFFFF#000000##FFFFFF
##2100271.0019.201.0919.20
#FFFFFF19.201.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C28
Deuteranopia (green-blind)
#031026
Tritanopia (blue-blind)
#210612
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #210027;
/* rgb */ color: rgb(33, 0, 39);
/* oklch */ color: oklch(17.9% 0.085 321.5);
Tailwind
colors: {
  custom: {
    50: '#5d4661',
    500: '#210027',
    950: '#000000',
  },
}
SCSS
$custom: #210027;
$custom-light: #5d4661;
$custom-dark: #000000;
JSON
{
  "hex": "#210027",
  "rgb": {
    "r": 33,
    "g": 0,
    "b": 39
  },
  "hsl": {
    "h": 290.769,
    "s": 100,
    "l": 7.647
  },
  "oklch": {
    "l": 0.17911,
    "c": 0.08529,
    "h": 321.5
  },
  "luminance": 0.0047
}

Semantic roles & 50–950 ramp

primary
#210027
secondary
#226F14
accent
#FF294A
background
#F5F3F5
surface
#E9E5E9
border
#C5C1C5
text
#040005
muted
#797779

Preview Lab

Preview with #210027

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

Preview Lab → · Contrast checker → · Palette generator →

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