#210127#210127

#210127 is a very dark, moderate purple. Relative luminance 0.005; OKLCH L 18.1% C 0.083 H 321.2°. Best body text is #FFFFFF at 19.12:1 contrast (WCAG AA passes).

Color values

HEX#210127
RGBrgb(33, 1, 39)
HSLhsl(291, 95%, 8%)
HSVhsv(291, 97%, 15%)
CMYKcmyk(15.4%, 97.4%, 0%, 84.7%)
CIE-LABlab(4.44, 21.61, -17.18)
CIE-LCHlch(4.44, 27.61, 321.51°)
OKLaboklab(18.12% 0.0644 -0.0517)
OKLCHoklch(18.12% 0.083 321.2)
XYZxyz(1.0042, 0.4916, 1.9611)
Luminance0.0049 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210127 #072701
analogous
#0E0127 #210127 #27011A
triadic
#210127 #272101 #012721
tetradic
#210127 #270E01 #072701 #011A27
square
#210127 #270E01 #072701 #011A27
split-complementary
#210127 #1A2701 #01270E
monochromatic
#19011E #19011E #210127 #530363 #86049E

Accessibility & contrast

On white

19.12
#210127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #210127
19.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210127#FFFFFF#000000##FFFFFF
##2101271.0019.121.1019.12
#FFFFFF19.121.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D28
Deuteranopia (green-blind)
#041126
Tritanopia (blue-blind)
#210713
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #210127;
/* rgb */ color: rgb(33, 1, 39);
/* oklch */ color: oklch(18.1% 0.083 321.2);
Tailwind
colors: {
  custom: {
    50: '#5d4661',
    500: '#210127',
    950: '#000000',
  },
}
SCSS
$custom: #210127;
$custom-light: #5d4661;
$custom-dark: #000000;
JSON
{
  "hex": "#210127",
  "rgb": {
    "r": 33,
    "g": 1,
    "b": 39
  },
  "hsl": {
    "h": 290.526,
    "s": 95,
    "l": 7.843
  },
  "oklch": {
    "l": 0.18117,
    "c": 0.08262,
    "h": 321.2
  },
  "luminance": 0.00492
}

Semantic roles & 50–950 ramp

primary
#210127
secondary
#246E16
accent
#FF294B
background
#F5F3F5
surface
#E9E5E9
border
#C5C1C5
text
#040005
muted
#797779

Preview Lab

Preview with #210127

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

Preview Lab → · Contrast checker → · Palette generator →

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