#280023#280023

#280023 is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.0% C 0.085 H 333.9°. Best body text is #FFFFFF at 18.84:1 contrast (WCAG AA passes).

Color values

HEX#280023
RGBrgb(40, 0, 35)
HSLhsl(308, 100%, 8%)
HSVhsv(308, 100%, 16%)
CMYKcmyk(0%, 100%, 12.5%, 84.3%)
CIE-LABlab(5.17, 24.47, -12.87)
CIE-LCHlch(5.17, 27.65, 332.25°)
OKLaboklab(19.04% 0.0765 -0.0374)
OKLCHoklch(19.04% 0.085 333.9)
XYZxyz(1.1785, 0.5726, 1.6382)
Luminance0.0057 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280023 #002805
analogous
#190028 #280023 #28000F
triadic
#280023 #232800 #002328
tetradic
#280023 #281900 #002805 #000F28
square
#280023 #281900 #002805 #000F28
split-complementary
#280023 #0F2800 #002819
monochromatic
#1F001B #1F001B #280023 #650059 #A2008E

Accessibility & contrast

On white

18.84
#280023 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#280023 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280023
18.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280023#FFFFFF#000000##FFFFFF
##2800231.0018.841.1118.84
#FFFFFF18.841.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D24
Deuteranopia (green-blind)
#0D1322
Tritanopia (blue-blind)
#2A0310
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #280023;
/* rgb */ color: rgb(40, 0, 35);
/* oklch */ color: oklch(19.0% 0.085 333.9);
Tailwind
colors: {
  custom: {
    50: '#63465e',
    500: '#280023',
    950: '#000000',
  },
}
SCSS
$custom: #280023;
$custom-light: #63465e;
$custom-dark: #000000;
JSON
{
  "hex": "#280023",
  "rgb": {
    "r": 40,
    "g": 0,
    "b": 35
  },
  "hsl": {
    "h": 307.5,
    "s": 100,
    "l": 7.843
  },
  "oklch": {
    "l": 0.19039,
    "c": 0.08511,
    "h": 333.9
  },
  "luminance": 0.00572
}

Semantic roles & 50–950 ramp

primary
#280023
secondary
#14701F
accent
#FF4429
background
#F6F3F5
surface
#EBE5E9
border
#C6C1C5
text
#050004
muted
#7A7679

Preview Lab

Preview with #280023

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

Preview Lab → · Contrast checker → · Palette generator →

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