#280C31#280C31

#280C31 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.0% C 0.075 H 317.0°. Best body text is #FFFFFF at 17.69:1 contrast (WCAG AA passes).

Color values

HEX#280C31
RGBrgb(40, 12, 49)
HSLhsl(285, 61%, 12%)
HSVhsv(285, 76%, 19%)
CMYKcmyk(18.4%, 75.5%, 0%, 80.8%)
CIE-LABlab(8.45, 21.72, -18.28)
CIE-LCHlch(8.45, 28.39, 319.91°)
OKLaboklab(22.01% 0.055 -0.0512)
OKLCHoklch(22.01% 0.075 317)
XYZxyz(1.5608, 0.9359, 3.0036)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280C31 #15310C
analogous
#160C31 #280C31 #310C28
triadic
#280C31 #31280C #0C3128
tetradic
#280C31 #31160C #15310C #0C2831
square
#280C31 #31160C #15310C #0C2831
split-complementary
#280C31 #28310C #0C3116
monochromatic
#140619 #140619 #280C31 #501862 #782493

Accessibility & contrast

On white

17.69
#280C31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#280C31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280C31
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280C31#FFFFFF#000000##FFFFFF
##280C311.0017.691.1917.69
#FFFFFF17.691.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031732
Deuteranopia (green-blind)
#0D1930
Tritanopia (blue-blind)
#28131D
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #280c31;
/* rgb */ color: rgb(40, 12, 49);
/* oklch */ color: oklch(22.0% 0.075 317.0);
Tailwind
colors: {
  custom: {
    50: '#634d69',
    500: '#280c31',
    950: '#000000',
  },
}
SCSS
$custom: #280c31;
$custom-light: #634d69;
$custom-dark: #000000;
JSON
{
  "hex": "#280c31",
  "rgb": {
    "r": 40,
    "g": 12,
    "b": 49
  },
  "hsl": {
    "h": 285.405,
    "s": 60.656,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22009,
    "c": 0.07511,
    "h": 317
  },
  "luminance": 0.00936
}

Semantic roles & 50–950 ramp

primary
#280C31
secondary
#3C6D2C
accent
#E4446B
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050106
muted
#7A777A

Preview Lab

Preview with #280C31

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

Preview Lab → · Contrast checker → · Palette generator →

#280C31 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva