#280028#280028

#280028 is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.4% C 0.089 H 328.4°. Best body text is #FFFFFF at 18.74:1 contrast (WCAG AA passes).

Color values

HEX#280028
RGBrgb(40, 0, 40)
HSLhsl(300, 100%, 8%)
HSVhsv(300, 100%, 16%)
CMYKcmyk(0%, 100%, 0%, 84.3%)
CIE-LABlab(5.46, 25.78, -16.27)
CIE-LCHlch(5.46, 30.48, 327.74°)
OKLaboklab(19.43% 0.076 -0.0468)
OKLCHoklch(19.43% 0.089 328.4)
XYZxyz(1.2581, 0.6044, 2.0575)
Luminance0.0060 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280028 #002800
analogous
#140028 #280028 #280014
triadic
#280028 #282800 #002828
tetradic
#280028 #281400 #002800 #001428
square
#280028 #281400 #002800 #001428
split-complementary
#280028 #142800 #002814
monochromatic
#1F001F #1F001F #280028 #650065 #A200A2

Accessibility & contrast

On white

18.74
#280028 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280028
18.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280028#FFFFFF#000000##FFFFFF
##2800281.0018.741.1218.74
#FFFFFF18.741.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #280028;
/* rgb */ color: rgb(40, 0, 40);
/* oklch */ color: oklch(19.4% 0.089 328.4);
Tailwind
colors: {
  custom: {
    50: '#644662',
    500: '#280028',
    950: '#000000',
  },
}
SCSS
$custom: #280028;
$custom-light: #644662;
$custom-dark: #000000;
JSON
{
  "hex": "#280028",
  "rgb": {
    "r": 40,
    "g": 0,
    "b": 40
  },
  "hsl": {
    "h": 300,
    "s": 100,
    "l": 7.843
  },
  "oklch": {
    "l": 0.19426,
    "c": 0.08928,
    "h": 328.4
  },
  "luminance": 0.00604
}

Semantic roles & 50–950 ramp

primary
#280028
secondary
#147014
accent
#FF2929
background
#F6F3F5
surface
#EBE5EA
border
#C6C1C6
text
#050005
muted
#7A7679

Preview Lab

Preview with #280028

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

Preview Lab → · Contrast checker → · Palette generator →

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