#280222#280222

#280222 is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.3% C 0.079 H 335.3°. Best body text is #FFFFFF at 18.72:1 contrast (WCAG AA passes).

Color values

HEX#280222
RGBrgb(40, 2, 34)
HSLhsl(309, 90%, 8%)
HSVhsv(309, 95%, 16%)
CMYKcmyk(0%, 95%, 15%, 84.3%)
CIE-LABlab(5.51, 23.24, -11.57)
CIE-LCHlch(5.51, 25.96, 333.52°)
OKLaboklab(19.33% 0.072 -0.0332)
OKLCHoklch(19.33% 0.079 335.3)
XYZxyz(1.1855, 0.6101, 1.5684)
Luminance0.0061 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280222 #022808
analogous
#1B0228 #280222 #28020F
triadic
#280222 #222802 #022228
tetradic
#280222 #281B02 #022808 #020F28
square
#280222 #281B02 #022808 #020F28
split-complementary
#280222 #0F2802 #02281B
monochromatic
#1D0119 #1D0119 #280222 #620554 #9D0885

Accessibility & contrast

On white

18.72
#280222 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#280222 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280222
18.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280222#FFFFFF#000000##FFFFFF
##2802221.0018.721.1218.72
#FFFFFF18.721.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#020E23
Deuteranopia (green-blind)
#0F1421
Tritanopia (blue-blind)
#2B0410
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #280222;
/* rgb */ color: rgb(40, 2, 34);
/* oklch */ color: oklch(19.3% 0.079 335.3);
Tailwind
colors: {
  custom: {
    50: '#63475d',
    500: '#280222',
    950: '#000000',
  },
}
SCSS
$custom: #280222;
$custom-light: #63475d;
$custom-dark: #000000;
JSON
{
  "hex": "#280222",
  "rgb": {
    "r": 40,
    "g": 2,
    "b": 34
  },
  "hsl": {
    "h": 309.474,
    "s": 90.476,
    "l": 8.235
  },
  "oklch": {
    "l": 0.19332,
    "c": 0.07926,
    "h": 335.3
  },
  "luminance": 0.0061
}

Semantic roles & 50–950 ramp

primary
#280222
secondary
#196D26
accent
#FF4B29
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#050004
muted
#7A7779

Preview Lab

Preview with #280222

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

Preview Lab → · Contrast checker → · Palette generator →

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