#280231#280231

#280231 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.5% C 0.093 H 319.1°. Best body text is #FFFFFF at 18.37:1 contrast (WCAG AA passes).

Color values

HEX#280231
RGBrgb(40, 2, 49)
HSLhsl(289, 92%, 10%)
HSVhsv(289, 96%, 19%)
CMYKcmyk(18.4%, 95.9%, 0%, 80.8%)
CIE-LABlab(6.47, 27.18, -21.44)
CIE-LCHlch(6.47, 34.62, 321.73°)
OKLaboklab(20.53% 0.0704 -0.0609)
OKLCHoklch(20.53% 0.093 319.1)
XYZxyz(1.4511, 0.7164, 2.9670)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280231 #0B3102
analogous
#110231 #280231 #310222
triadic
#280231 #312802 #023128
tetradic
#280231 #311102 #0B3102 #022231
square
#280231 #311102 #0B3102 #022231
split-complementary
#280231 #223102 #023111
monochromatic
#18011D #18011D #280231 #58046C #8807A7

Accessibility & contrast

On white

18.37
#280231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#280231 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280231
18.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280231#FFFFFF#000000##FFFFFF
##2802311.0018.371.1418.37
#FFFFFF18.371.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001232
Deuteranopia (green-blind)
#041630
Tritanopia (blue-blind)
#280B19
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #280231;
/* rgb */ color: rgb(40, 2, 49);
/* oklch */ color: oklch(20.5% 0.093 319.1);
Tailwind
colors: {
  custom: {
    50: '#644769',
    500: '#280231',
    950: '#000000',
  },
}
SCSS
$custom: #280231;
$custom-light: #644769;
$custom-dark: #000000;
JSON
{
  "hex": "#280231",
  "rgb": {
    "r": 40,
    "g": 2,
    "b": 49
  },
  "hsl": {
    "h": 288.511,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.20526,
    "c": 0.09309,
    "h": 319.1
  },
  "luminance": 0.00716
}

Semantic roles & 50–950 ramp

primary
#280231
secondary
#2B7519
accent
#FF2952
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#060006
muted
#7A777A

Preview Lab

Preview with #280231

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

Preview Lab → · Contrast checker → · Palette generator →

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