#280127#280127

#280127 is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.5% C 0.086 H 329.4°. Best body text is #FFFFFF at 18.69:1 contrast (WCAG AA passes).

Color values

HEX#280127
RGBrgb(40, 1, 39)
HSLhsl(302, 95%, 8%)
HSVhsv(302, 98%, 16%)
CMYKcmyk(0%, 97.5%, 2.5%, 84.3%)
CIE-LABlab(5.59, 25.01, -15.30)
CIE-LCHlch(5.59, 29.31, 328.55°)
OKLaboklab(19.52% 0.074 -0.0438)
OKLCHoklch(19.52% 0.086 329.4)
XYZxyz(1.2521, 0.6194, 1.9727)
Luminance0.0062 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280127 #012802
analogous
#150128 #280127 #280113
triadic
#280127 #272801 #012728
tetradic
#280127 #281501 #012802 #011328
square
#280127 #281501 #012802 #011328
split-complementary
#280127 #132801 #012815
monochromatic
#1E011D #1E011D #280127 #640261 #9F049B

Accessibility & contrast

On white

18.69
#280127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#280127 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280127
18.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280127#FFFFFF#000000##FFFFFF
##2801271.0018.691.1218.69
#FFFFFF18.691.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F28
Deuteranopia (green-blind)
#0B1426
Tritanopia (blue-blind)
#2A0513
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #280127;
/* rgb */ color: rgb(40, 1, 39);
/* oklch */ color: oklch(19.5% 0.086 329.4);
Tailwind
colors: {
  custom: {
    50: '#644661',
    500: '#280127',
    950: '#000000',
  },
}
SCSS
$custom: #280127;
$custom-light: #644661;
$custom-dark: #000000;
JSON
{
  "hex": "#280127",
  "rgb": {
    "r": 40,
    "g": 1,
    "b": 39
  },
  "hsl": {
    "h": 301.538,
    "s": 95.122,
    "l": 8.039
  },
  "oklch": {
    "l": 0.19523,
    "c": 0.08602,
    "h": 329.4
  },
  "luminance": 0.00619
}

Semantic roles & 50–950 ramp

primary
#280127
secondary
#166F18
accent
#FF2E29
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#050005
muted
#7A7779

Preview Lab

Preview with #280127

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

Preview Lab → · Contrast checker → · Palette generator →

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