#280D2F#280D2F

#280D2F is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.0% C 0.071 H 318.9°. Best body text is #FFFFFF at 17.66:1 contrast (WCAG AA passes).

Color values

HEX#280D2F
RGBrgb(40, 13, 47)
HSLhsl(288, 57%, 12%)
HSVhsv(288, 72%, 18%)
CMYKcmyk(14.9%, 72.3%, 0%, 81.6%)
CIE-LABlab(8.52, 20.62, -16.69)
CIE-LCHlch(8.52, 26.53, 321.01°)
OKLaboklab(22.02% 0.0534 -0.0466)
OKLCHoklch(22.02% 0.071 318.9)
XYZxyz(1.5320, 0.9443, 2.7903)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280D2F #142F0D
analogous
#170D2F #280D2F #2F0D25
triadic
#280D2F #2F280D #0D2F28
tetradic
#280D2F #2F170D #142F0D #0D252F
square
#280D2F #2F170D #142F0D #0D252F
split-complementary
#280D2F #252F0D #0D2F17
monochromatic
#140718 #140718 #280D2F #511A5F #7A288F

Accessibility & contrast

On white

17.66
#280D2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#280D2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280D2F
17.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280D2F#FFFFFF#000000##FFFFFF
##280D2F1.0017.661.1917.66
#FFFFFF17.661.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051730
Deuteranopia (green-blind)
#0F192E
Tritanopia (blue-blind)
#28131C
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #280d2f;
/* rgb */ color: rgb(40, 13, 47);
/* oklch */ color: oklch(22.0% 0.071 318.9);
Tailwind
colors: {
  custom: {
    50: '#634d67',
    500: '#280d2f',
    950: '#000000',
  },
}
SCSS
$custom: #280d2f;
$custom-light: #634d67;
$custom-dark: #000000;
JSON
{
  "hex": "#280d2f",
  "rgb": {
    "r": 40,
    "g": 13,
    "b": 47
  },
  "hsl": {
    "h": 287.647,
    "s": 56.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22016,
    "c": 0.07082,
    "h": 318.9
  },
  "luminance": 0.00944
}

Semantic roles & 50–950 ramp

primary
#280D2F
secondary
#3A6A2E
accent
#E04867
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050106
muted
#7A777A

Preview Lab

Preview with #280D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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