#280833#280833

#280833 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.6% C 0.084 H 316.0°. Best body text is #FFFFFF at 17.91:1 contrast (WCAG AA passes).

Color values

HEX#280833
RGBrgb(40, 8, 51)
HSLhsl(285, 73%, 12%)
HSVhsv(285, 84%, 20%)
CMYKcmyk(21.6%, 84.3%, 0%, 80%)
CIE-LABlab(7.80, 24.45, -20.78)
CIE-LCHlch(7.80, 32.09, 319.64°)
OKLaboklab(21.6% 0.0606 -0.0585)
OKLCHoklch(21.6% 0.084 316)
XYZxyz(1.5594, 0.8639, 3.2159)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280833 #133308
analogous
#130833 #280833 #330829
triadic
#280833 #332808 #083328
tetradic
#280833 #331308 #133308 #082933
square
#280833 #331308 #133308 #082933
split-complementary
#280833 #293308 #083313
monochromatic
#15041A #15041A #280833 #511068 #7B199D

Accessibility & contrast

On white

17.91
#280833 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#280833 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280833
17.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280833#FFFFFF#000000##FFFFFF
##2808331.0017.911.1717.91
#FFFFFF17.911.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001534
Deuteranopia (green-blind)
#081832
Tritanopia (blue-blind)
#27111C
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #280833;
/* rgb */ color: rgb(40, 8, 51);
/* oklch */ color: oklch(21.6% 0.084 316.0);
Tailwind
colors: {
  custom: {
    50: '#644b6b',
    500: '#280833',
    950: '#000000',
  },
}
SCSS
$custom: #280833;
$custom-light: #644b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#280833",
  "rgb": {
    "r": 40,
    "g": 8,
    "b": 51
  },
  "hsl": {
    "h": 284.651,
    "s": 72.881,
    "l": 11.569
  },
  "oklch": {
    "l": 0.21596,
    "c": 0.08422,
    "h": 316
  },
  "luminance": 0.00864
}

Semantic roles & 50–950 ramp

primary
#280833
secondary
#397225
accent
#F03867
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050106
muted
#7A777A

Preview Lab

Preview with #280833

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

Preview Lab → · Contrast checker → · Palette generator →

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