#280F31#280F31

#280F31 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.5% C 0.070 H 316.2°. Best body text is #FFFFFF at 17.46:1 contrast (WCAG AA passes).

Color values

HEX#280F31
RGBrgb(40, 15, 49)
HSLhsl(284, 53%, 13%)
HSVhsv(284, 69%, 19%)
CMYKcmyk(18.4%, 69.4%, 0%, 80.8%)
CIE-LABlab(9.11, 19.91, -17.22)
CIE-LCHlch(9.11, 26.32, 319.14°)
OKLaboklab(22.49% 0.0502 -0.0481)
OKLCHoklch(22.49% 0.07 316.2)
XYZxyz(1.6002, 1.0146, 3.0167)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280F31 #18310F
analogous
#170F31 #280F31 #310F29
triadic
#280F31 #31280F #0F3128
tetradic
#280F31 #31170F #18310F #0F2931
square
#280F31 #31170F #18310F #0F2931
split-complementary
#280F31 #29310F #0F3117
monochromatic
#130717 #130717 #280F31 #4E1D60 #752C8F

Accessibility & contrast

On white

17.46
#280F31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#280F31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280F31
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280F31#FFFFFF#000000##FFFFFF
##280F311.0017.461.2017.46
#FFFFFF17.461.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061832
Deuteranopia (green-blind)
#0F1A30
Tritanopia (blue-blind)
#28151E
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #280f31;
/* rgb */ color: rgb(40, 15, 49);
/* oklch */ color: oklch(22.5% 0.070 316.2);
Tailwind
colors: {
  custom: {
    50: '#634f69',
    500: '#280f31',
    950: '#000000',
  },
}
SCSS
$custom: #280f31;
$custom-light: #634f69;
$custom-dark: #000000;
JSON
{
  "hex": "#280f31",
  "rgb": {
    "r": 40,
    "g": 15,
    "b": 49
  },
  "hsl": {
    "h": 284.118,
    "s": 53.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22494,
    "c": 0.06956,
    "h": 316.2
  },
  "luminance": 0.01015
}

Semantic roles & 50–950 ramp

primary
#280F31
secondary
#406B31
accent
#DD4B72
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050206
muted
#7A787A

Preview Lab

Preview with #280F31

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

Preview Lab → · Contrast checker → · Palette generator →

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