#280C29#280C29

#280C29 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.4% C 0.066 H 326.2°. Best body text is #FFFFFF at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#280C29
RGBrgb(40, 12, 41)
HSLhsl(298, 55%, 10%)
HSVhsv(298, 71%, 16%)
CMYKcmyk(2.4%, 70.7%, 0%, 83.9%)
CIE-LABlab(7.90, 19.76, -13.21)
CIE-LCHlch(7.90, 23.77, 326.24°)
OKLaboklab(21.43% 0.0545 -0.0364)
OKLCHoklch(21.43% 0.066 326.2)
XYZxyz(1.4068, 0.8742, 2.1920)
Luminance0.0087 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280C29 #0D290C
analogous
#190C29 #280C29 #290C1B
triadic
#280C29 #29280C #0C2928
tetradic
#280C29 #29190C #0D290C #0C1B29
square
#280C29 #29190C #0D290C #0C1B29
split-complementary
#280C29 #1B290C #0C2919
monochromatic
#170718 #170718 #280C29 #561A58 #842888

Accessibility & contrast

On white

17.88
#280C29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#280C29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280C29
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280C29#FFFFFF#000000##FFFFFF
##280C291.0017.881.1717.88
#FFFFFF17.881.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08152A
Deuteranopia (green-blind)
#121928
Tritanopia (blue-blind)
#291018
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #280c29;
/* rgb */ color: rgb(40, 12, 41);
/* oklch */ color: oklch(21.4% 0.066 326.2);
Tailwind
colors: {
  custom: {
    50: '#634c63',
    500: '#280c29',
    950: '#000000',
  },
}
SCSS
$custom: #280c29;
$custom-light: #634c63;
$custom-dark: #000000;
JSON
{
  "hex": "#280c29",
  "rgb": {
    "r": 40,
    "g": 12,
    "b": 41
  },
  "hsl": {
    "h": 297.931,
    "s": 54.717,
    "l": 10.392
  },
  "oklch": {
    "l": 0.21432,
    "c": 0.06554,
    "h": 326.2
  },
  "luminance": 0.00874
}

Semantic roles & 50–950 ramp

primary
#280C29
secondary
#2F642D
accent
#DE4A4F
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#050105
muted
#7A7779

Preview Lab

Preview with #280C29

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

Preview Lab → · Contrast checker → · Palette generator →

#280C29 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva