#280724#280724

#280724 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.3% C 0.070 H 333.0°. Best body text is #FFFFFF at 18.32:1 contrast (WCAG AA passes).

Color values

HEX#280724
RGBrgb(40, 7, 36)
HSLhsl(307, 70%, 9%)
HSVhsv(307, 83%, 16%)
CMYKcmyk(0%, 82.5%, 10%, 84.3%)
CIE-LABlab(6.60, 21.22, -11.44)
CIE-LCHlch(6.60, 24.11, 331.67°)
OKLaboklab(20.32% 0.0623 -0.0317)
OKLCHoklch(20.32% 0.07 333)
XYZxyz(1.2695, 0.7305, 1.7429)
Luminance0.0073 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280724 #07280B
analogous
#1C0728 #280724 #280714
triadic
#280724 #242807 #072428
tetradic
#280724 #281C07 #07280B #071428
square
#280724 #281C07 #07280B #071428
split-complementary
#280724 #142807 #07281C
monochromatic
#1A0517 #1A0517 #280724 #5C1053 #901982

Accessibility & contrast

On white

18.32
#280724 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#280724 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280724
18.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280724#FFFFFF#000000##FFFFFF
##2807241.0018.321.1518.32
#FFFFFF18.321.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061225
Deuteranopia (green-blind)
#111623
Tritanopia (blue-blind)
#2A0A14
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #280724;
/* rgb */ color: rgb(40, 7, 36);
/* oklch */ color: oklch(20.3% 0.070 333.0);
Tailwind
colors: {
  custom: {
    50: '#63495e',
    500: '#280724',
    950: '#000000',
  },
}
SCSS
$custom: #280724;
$custom-light: #63495e;
$custom-dark: #000000;
JSON
{
  "hex": "#280724",
  "rgb": {
    "r": 40,
    "g": 7,
    "b": 36
  },
  "hsl": {
    "h": 307.273,
    "s": 70.213,
    "l": 9.216
  },
  "oklch": {
    "l": 0.20318,
    "c": 0.06989,
    "h": 333
  },
  "luminance": 0.0073
}

Semantic roles & 50–950 ramp

primary
#280724
secondary
#23682C
accent
#ED503B
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#050104
muted
#7A7779

Preview Lab

Preview with #280724

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

Preview Lab → · Contrast checker → · Palette generator →

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