#280332#280332

#280332 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.8% C 0.092 H 318.0°. Best body text is #FFFFFF at 18.27:1 contrast (WCAG AA passes).

Color values

HEX#280332
RGBrgb(40, 3, 50)
HSLhsl(287, 89%, 10%)
HSVhsv(287, 94%, 20%)
CMYKcmyk(20%, 94%, 0%, 80.4%)
CIE-LABlab(6.74, 26.91, -21.74)
CIE-LCHlch(6.74, 34.60, 321.06°)
OKLaboklab(20.77% 0.0685 -0.0616)
OKLCHoklch(20.77% 0.092 318)
XYZxyz(1.4833, 0.7466, 3.0830)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280332 #0D3203
analogous
#100332 #280332 #320324
triadic
#280332 #322803 #033228
tetradic
#280332 #321003 #0D3203 #032432
square
#280332 #321003 #0D3203 #032432
split-complementary
#280332 #243203 #033210
monochromatic
#17021D #17021D #280332 #56066C #840AA5

Accessibility & contrast

On white

18.27
#280332 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#280332 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280332
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280332#FFFFFF#000000##FFFFFF
##2803321.0018.271.1518.27
#FFFFFF18.271.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001333
Deuteranopia (green-blind)
#041631
Tritanopia (blue-blind)
#280D1A
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #280332;
/* rgb */ color: rgb(40, 3, 50);
/* oklch */ color: oklch(20.8% 0.092 318.0);
Tailwind
colors: {
  custom: {
    50: '#64486a',
    500: '#280332',
    950: '#000000',
  },
}
SCSS
$custom: #280332;
$custom-light: #64486a;
$custom-dark: #000000;
JSON
{
  "hex": "#280332",
  "rgb": {
    "r": 40,
    "g": 3,
    "b": 50
  },
  "hsl": {
    "h": 287.234,
    "s": 88.679,
    "l": 10.392
  },
  "oklch": {
    "l": 0.20771,
    "c": 0.09212,
    "h": 318
  },
  "luminance": 0.00747
}

Semantic roles & 50–950 ramp

primary
#280332
secondary
#2F751B
accent
#FF2956
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#060006
muted
#7A777A

Preview Lab

Preview with #280332

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

Preview Lab → · Contrast checker → · Palette generator →

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