#280729#280729

#280729 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 20.7% C 0.075 H 326.7°. Best body text is #FFFFFF at 18.22:1 contrast (WCAG AA passes).

Color values

HEX#280729
RGBrgb(40, 7, 41)
HSLhsl(298, 71%, 9%)
HSVhsv(298, 83%, 16%)
CMYKcmyk(2.4%, 82.9%, 0%, 83.9%)
CIE-LABlab(6.89, 22.44, -14.78)
CIE-LCHlch(6.89, 26.87, 326.63°)
OKLaboklab(20.67% 0.0627 -0.0412)
OKLCHoklch(20.67% 0.075 326.7)
XYZxyz(1.3513, 0.7633, 2.1735)
Luminance0.0076 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280729 #082907
analogous
#170729 #280729 #290719
triadic
#280729 #292807 #072928
tetradic
#280729 #291707 #082907 #071929
square
#280729 #291707 #082907 #071929
split-complementary
#280729 #192907 #072917
monochromatic
#19041A #19041A #280729 #5B105D #8E1992

Accessibility & contrast

On white

18.22
#280729 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280729
18.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280729#FFFFFF#000000##FFFFFF
##2807291.0018.221.1518.22
#FFFFFF18.221.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03132A
Deuteranopia (green-blind)
#0E1728
Tritanopia (blue-blind)
#290C17
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #280729;
/* rgb */ color: rgb(40, 7, 41);
/* oklch */ color: oklch(20.7% 0.075 326.7);
Tailwind
colors: {
  custom: {
    50: '#634a63',
    500: '#280729',
    950: '#000000',
  },
}
SCSS
$custom: #280729;
$custom-light: #634a63;
$custom-dark: #000000;
JSON
{
  "hex": "#280729",
  "rgb": {
    "r": 40,
    "g": 7,
    "b": 41
  },
  "hsl": {
    "h": 298.235,
    "s": 70.833,
    "l": 9.412
  },
  "oklch": {
    "l": 0.20665,
    "c": 0.07499,
    "h": 326.7
  },
  "luminance": 0.00763
}

Semantic roles & 50–950 ramp

primary
#280729
secondary
#256923
accent
#EE3A3F
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#050105
muted
#7A7779

Preview Lab

Preview with #280729

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

Preview Lab → · Contrast checker → · Palette generator →

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