#280232#280232

#280232 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.6% C 0.094 H 318.2°. Best body text is #FFFFFF at 18.34:1 contrast (WCAG AA passes).

Color values

HEX#280232
RGBrgb(40, 2, 50)
HSLhsl(288, 92%, 10%)
HSVhsv(288, 96%, 20%)
CMYKcmyk(20%, 96%, 0%, 80.4%)
CIE-LABlab(6.55, 27.45, -22.06)
CIE-LCHlch(6.55, 35.22, 321.22°)
OKLaboklab(20.62% 0.0702 -0.0626)
OKLCHoklch(20.62% 0.094 318.2)
XYZxyz(1.4724, 0.7249, 3.0794)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280232 #0C3202
analogous
#100232 #280232 #320224
triadic
#280232 #322802 #023228
tetradic
#280232 #321002 #0C3202 #022432
square
#280232 #321002 #0C3202 #022432
split-complementary
#280232 #243202 #023210
monochromatic
#18011D #18011D #280232 #57046D #8607A8

Accessibility & contrast

On white

18.34
#280232 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280232
18.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280232#FFFFFF#000000##FFFFFF
##2802321.0018.341.1518.34
#FFFFFF18.341.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001233
Deuteranopia (green-blind)
#031631
Tritanopia (blue-blind)
#280C1A
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #280232;
/* rgb */ color: rgb(40, 2, 50);
/* oklch */ color: oklch(20.6% 0.094 318.2);
Tailwind
colors: {
  custom: {
    50: '#64476a',
    500: '#280232',
    950: '#000000',
  },
}
SCSS
$custom: #280232;
$custom-light: #64476a;
$custom-dark: #000000;
JSON
{
  "hex": "#280232",
  "rgb": {
    "r": 40,
    "g": 2,
    "b": 50
  },
  "hsl": {
    "h": 287.5,
    "s": 92.308,
    "l": 10.196
  },
  "oklch": {
    "l": 0.20616,
    "c": 0.09406,
    "h": 318.2
  },
  "luminance": 0.00725
}

Semantic roles & 50–950 ramp

primary
#280232
secondary
#2D7619
accent
#FF2955
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#060006
muted
#7A777A

Preview Lab

Preview with #280232

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

Preview Lab → · Contrast checker → · Palette generator →

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