#280333#280333

#280333 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 20.9% C 0.093 H 317.1°. Best body text is #FFFFFF at 18.25:1 contrast (WCAG AA passes).

Color values

HEX#280333
RGBrgb(40, 3, 51)
HSLhsl(286, 89%, 11%)
HSVhsv(286, 94%, 20%)
CMYKcmyk(21.6%, 94.1%, 0%, 80%)
CIE-LABlab(6.82, 27.19, -22.36)
CIE-LCHlch(6.82, 35.20, 320.57°)
OKLaboklab(20.86% 0.0683 -0.0634)
OKLCHoklch(20.86% 0.093 317.1)
XYZxyz(1.5051, 0.7553, 3.1978)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280333 #0E3303
analogous
#100333 #280333 #330326
triadic
#280333 #332803 #033328
tetradic
#280333 #331003 #0E3303 #032633
square
#280333 #331003 #0E3303 #032633
split-complementary
#280333 #263303 #033310
monochromatic
#17021D #17021D #280333 #55066D #830AA7

Accessibility & contrast

On white

18.25
#280333 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280333
18.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280333#FFFFFF#000000##FFFFFF
##2803331.0018.251.1518.25
#FFFFFF18.251.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001334
Deuteranopia (green-blind)
#031632
Tritanopia (blue-blind)
#270D1B
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #280333;
/* rgb */ color: rgb(40, 3, 51);
/* oklch */ color: oklch(20.9% 0.093 317.1);
Tailwind
colors: {
  custom: {
    50: '#64486b',
    500: '#280333',
    950: '#000000',
  },
}
SCSS
$custom: #280333;
$custom-light: #64486b;
$custom-dark: #000000;
JSON
{
  "hex": "#280333",
  "rgb": {
    "r": 40,
    "g": 3,
    "b": 51
  },
  "hsl": {
    "h": 286.25,
    "s": 88.889,
    "l": 10.588
  },
  "oklch": {
    "l": 0.20861,
    "c": 0.09313,
    "h": 317.1
  },
  "luminance": 0.00755
}

Semantic roles & 50–950 ramp

primary
#280333
secondary
#30761C
accent
#FF295A
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#060006
muted
#7A777A

Preview Lab

Preview with #280333

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

Preview Lab → · Contrast checker → · Palette generator →

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