#280024#280024

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

Color values

HEX#280024
RGBrgb(40, 0, 36)
HSLhsl(306, 100%, 8%)
HSVhsv(306, 100%, 16%)
CMYKcmyk(0%, 100%, 10%, 84.3%)
CIE-LABlab(5.23, 24.72, -13.56)
CIE-LCHlch(5.23, 28.20, 331.25°)
OKLaboklab(19.11% 0.0764 -0.0393)
OKLCHoklch(19.11% 0.086 332.8)
XYZxyz(1.1935, 0.5786, 1.7175)
Luminance0.0058 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280024 #002804
analogous
#180028 #280024 #280010
triadic
#280024 #242800 #002428
tetradic
#280024 #281800 #002804 #001028
square
#280024 #281800 #002804 #001028
split-complementary
#280024 #102800 #002818
monochromatic
#1F001C #1F001C #280024 #65005B #A20092

Accessibility & contrast

On white

18.82
#280024 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280024
18.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280024#FFFFFF#000000##FFFFFF
##2800241.0018.821.1218.82
#FFFFFF18.821.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D25
Deuteranopia (green-blind)
#0C1423
Tritanopia (blue-blind)
#2A0311
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #280024;
/* rgb */ color: rgb(40, 0, 36);
/* oklch */ color: oklch(19.1% 0.086 332.8);
Tailwind
colors: {
  custom: {
    50: '#64465e',
    500: '#280024',
    950: '#000000',
  },
}
SCSS
$custom: #280024;
$custom-light: #64465e;
$custom-dark: #000000;
JSON
{
  "hex": "#280024",
  "rgb": {
    "r": 40,
    "g": 0,
    "b": 36
  },
  "hsl": {
    "h": 306,
    "s": 100,
    "l": 7.843
  },
  "oklch": {
    "l": 0.19113,
    "c": 0.08593,
    "h": 332.8
  },
  "luminance": 0.00578
}

Semantic roles & 50–950 ramp

primary
#280024
secondary
#14701D
accent
#FF3E29
background
#F6F3F5
surface
#EBE5E9
border
#C6C1C5
text
#050004
muted
#7A7679

Preview Lab

Preview with #280024

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

Preview Lab → · Contrast checker → · Palette generator →

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