#280027#280027

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

Color values

HEX#280027
RGBrgb(40, 0, 39)
HSLhsl(302, 100%, 8%)
HSVhsv(302, 100%, 16%)
CMYKcmyk(0%, 100%, 2.5%, 84.3%)
CIE-LABlab(5.40, 25.51, -15.60)
CIE-LCHlch(5.40, 29.90, 328.55°)
OKLaboklab(19.35% 0.0761 -0.045)
OKLCHoklch(19.35% 0.088 329.4)
XYZxyz(1.2413, 0.5977, 1.9691)
Luminance0.0060 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280027 #002801
analogous
#150028 #280027 #280013
triadic
#280027 #272800 #002728
tetradic
#280027 #281500 #002801 #001328
square
#280027 #281500 #002801 #001328
split-complementary
#280027 #132800 #002815
monochromatic
#1F001E #1F001E #280027 #650063 #A2009E

Accessibility & contrast

On white

18.76
#280027 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280027
18.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280027#FFFFFF#000000##FFFFFF
##2800271.0018.761.1218.76
#FFFFFF18.761.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E28
Deuteranopia (green-blind)
#0A1426
Tritanopia (blue-blind)
#2A0412
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #280027;
/* rgb */ color: rgb(40, 0, 39);
/* oklch */ color: oklch(19.3% 0.088 329.4);
Tailwind
colors: {
  custom: {
    50: '#644661',
    500: '#280027',
    950: '#000000',
  },
}
SCSS
$custom: #280027;
$custom-light: #644661;
$custom-dark: #000000;
JSON
{
  "hex": "#280027",
  "rgb": {
    "r": 40,
    "g": 0,
    "b": 39
  },
  "hsl": {
    "h": 301.5,
    "s": 100,
    "l": 7.843
  },
  "oklch": {
    "l": 0.19346,
    "c": 0.08843,
    "h": 329.4
  },
  "luminance": 0.00598
}

Semantic roles & 50–950 ramp

primary
#280027
secondary
#147016
accent
#FF2E29
background
#F6F3F5
surface
#EBE5E9
border
#C6C1C5
text
#050005
muted
#7A7679

Preview Lab

Preview with #280027

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

Preview Lab → · Contrast checker → · Palette generator →

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