#280B30#280B30

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

Color values

HEX#280B30
RGBrgb(40, 11, 48)
HSLhsl(287, 63%, 12%)
HSVhsv(287, 77%, 19%)
CMYKcmyk(16.7%, 77.1%, 0%, 81.2%)
CIE-LABlab(8.16, 22.04, -18.00)
CIE-LCHlch(8.16, 28.46, 320.77°)
OKLaboklab(21.78% 0.0565 -0.0503)
OKLCHoklch(21.78% 0.076 318.3)
XYZxyz(1.5282, 0.9039, 2.8897)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280B30 #13300B
analogous
#160B30 #280B30 #300B26
triadic
#280B30 #30280B #0B3028
tetradic
#280B30 #30160B #13300B #0B2630
square
#280B30 #30160B #13300B #0B2630
split-complementary
#280B30 #26300B #0B3016
monochromatic
#150619 #150619 #280B30 #511662 #7B2294

Accessibility & contrast

On white

17.78
#280B30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280B30
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280B30#FFFFFF#000000##FFFFFF
##280B301.0017.781.1817.78
#FFFFFF17.781.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021631
Deuteranopia (green-blind)
#0D192F
Tritanopia (blue-blind)
#28111C
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #280b30;
/* rgb */ color: rgb(40, 11, 48);
/* oklch */ color: oklch(21.8% 0.076 318.3);
Tailwind
colors: {
  custom: {
    50: '#634c68',
    500: '#280b30',
    950: '#000000',
  },
}
SCSS
$custom: #280b30;
$custom-light: #634c68;
$custom-dark: #000000;
JSON
{
  "hex": "#280b30",
  "rgb": {
    "r": 40,
    "g": 11,
    "b": 48
  },
  "hsl": {
    "h": 287.027,
    "s": 62.712,
    "l": 11.569
  },
  "oklch": {
    "l": 0.21782,
    "c": 0.07566,
    "h": 318.3
  },
  "luminance": 0.00904
}

Semantic roles & 50–950 ramp

primary
#280B30
secondary
#396D2A
accent
#E64265
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050106
muted
#7A777A

Preview Lab

Preview with #280B30

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

Preview Lab → · Contrast checker → · Palette generator →

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