#280728#280728

#280728 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 20.6% C 0.074 H 327.9°. Best body text is #FFFFFF at 18.24:1 contrast (WCAG AA passes).

Color values

HEX#280728
RGBrgb(40, 7, 40)
HSLhsl(300, 70%, 9%)
HSVhsv(300, 83%, 16%)
CMYKcmyk(0%, 82.5%, 0%, 84.3%)
CIE-LABlab(6.83, 22.19, -14.12)
CIE-LCHlch(6.83, 26.30, 327.53°)
OKLaboklab(20.59% 0.0626 -0.0394)
OKLCHoklch(20.59% 0.074 327.9)
XYZxyz(1.3340, 0.7564, 2.0828)
Luminance0.0076 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280728 #072807
analogous
#180728 #280728 #280718
triadic
#280728 #282807 #072828
tetradic
#280728 #281807 #072807 #071828
square
#280728 #281807 #072807 #071828
split-complementary
#280728 #182807 #072818
monochromatic
#1A051A #1A051A #280728 #5C105C #901990

Accessibility & contrast

On white

18.24
#280728 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280728
18.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280728#FFFFFF#000000##FFFFFF
##2807281.0018.241.1518.24
#FFFFFF18.241.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041229
Deuteranopia (green-blind)
#0F1727
Tritanopia (blue-blind)
#2A0B16
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #280728;
/* rgb */ color: rgb(40, 7, 40);
/* oklch */ color: oklch(20.6% 0.074 327.9);
Tailwind
colors: {
  custom: {
    50: '#634a62',
    500: '#280728',
    950: '#000000',
  },
}
SCSS
$custom: #280728;
$custom-light: #634a62;
$custom-dark: #000000;
JSON
{
  "hex": "#280728",
  "rgb": {
    "r": 40,
    "g": 7,
    "b": 40
  },
  "hsl": {
    "h": 300,
    "s": 70.213,
    "l": 9.216
  },
  "oklch": {
    "l": 0.20593,
    "c": 0.07395,
    "h": 327.9
  },
  "luminance": 0.00756
}

Semantic roles & 50–950 ramp

primary
#280728
secondary
#236823
accent
#ED3B3B
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#050105
muted
#7A7779

Preview Lab

Preview with #280728

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

Preview Lab → · Contrast checker → · Palette generator →

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