#280C2E#280C2E

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

Color values

HEX#280C2E
RGBrgb(40, 12, 46)
HSLhsl(289, 59%, 11%)
HSVhsv(289, 74%, 18%)
CMYKcmyk(13%, 73.9%, 0%, 82%)
CIE-LABlab(8.23, 20.96, -16.41)
CIE-LCHlch(8.23, 26.62, 321.95°)
OKLaboklab(21.78% 0.0549 -0.0457)
OKLCHoklch(21.78% 0.071 320.2)
XYZxyz(1.4996, 0.9114, 2.6812)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280C2E #122E0C
analogous
#170C2E #280C2E #2E0C23
triadic
#280C2E #2E280C #0C2E28
tetradic
#280C2E #2E170C #122E0C #0C232E
square
#280C2E #2E170C #122E0C #0C232E
split-complementary
#280C2E #232E0C #0C2E17
monochromatic
#150618 #150618 #280C2E #52195F #7C258F

Accessibility & contrast

On white

17.76
#280C2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#280C2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280C2E
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280C2E#FFFFFF#000000##FFFFFF
##280C2E1.0017.761.1817.76
#FFFFFF17.761.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05162F
Deuteranopia (green-blind)
#0F192D
Tritanopia (blue-blind)
#28111B
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #280c2e;
/* rgb */ color: rgb(40, 12, 46);
/* oklch */ color: oklch(21.8% 0.071 320.2);
Tailwind
colors: {
  custom: {
    50: '#634d67',
    500: '#280c2e',
    950: '#000000',
  },
}
SCSS
$custom: #280c2e;
$custom-light: #634d67;
$custom-dark: #000000;
JSON
{
  "hex": "#280c2e",
  "rgb": {
    "r": 40,
    "g": 12,
    "b": 46
  },
  "hsl": {
    "h": 289.412,
    "s": 58.621,
    "l": 11.373
  },
  "oklch": {
    "l": 0.21784,
    "c": 0.07146,
    "h": 320.2
  },
  "luminance": 0.00911
}

Semantic roles & 50–950 ramp

primary
#280C2E
secondary
#376A2C
accent
#E24661
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050106
muted
#7A777A

Preview Lab

Preview with #280C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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