#280F32#280F32

#280F32 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.6% C 0.071 H 315.2°. Best body text is #FFFFFF at 17.43:1 contrast (WCAG AA passes).

Color values

HEX#280F32
RGBrgb(40, 15, 50)
HSLhsl(283, 54%, 13%)
HSVhsv(283, 70%, 20%)
CMYKcmyk(20%, 70%, 0%, 80.4%)
CIE-LABlab(9.18, 20.17, -17.84)
CIE-LCHlch(9.18, 26.93, 318.50°)
OKLaboklab(22.57% 0.0503 -0.0499)
OKLCHoklch(22.57% 0.071 315.2)
XYZxyz(1.6215, 1.0231, 3.1291)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280F32 #19320F
analogous
#160F32 #280F32 #320F2A
triadic
#280F32 #32280F #0F3228
tetradic
#280F32 #32160F #19320F #0F2A32
square
#280F32 #32160F #19320F #0F2A32
split-complementary
#280F32 #2A320F #0F3216
monochromatic
#130718 #130718 #280F32 #4E1D61 #732B90

Accessibility & contrast

On white

17.43
#280F32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280F32
17.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280F32#FFFFFF#000000##FFFFFF
##280F321.0017.431.2017.43
#FFFFFF17.431.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061833
Deuteranopia (green-blind)
#0F1B31
Tritanopia (blue-blind)
#27151E
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #280f32;
/* rgb */ color: rgb(40, 15, 50);
/* oklch */ color: oklch(22.6% 0.071 315.2);
Tailwind
colors: {
  custom: {
    50: '#634f6a',
    500: '#280f32',
    950: '#000000',
  },
}
SCSS
$custom: #280f32;
$custom-light: #634f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#280f32",
  "rgb": {
    "r": 40,
    "g": 15,
    "b": 50
  },
  "hsl": {
    "h": 282.857,
    "s": 53.846,
    "l": 12.745
  },
  "oklch": {
    "l": 0.22568,
    "c": 0.07087,
    "h": 315.2
  },
  "luminance": 0.01023
}

Semantic roles & 50–950 ramp

primary
#280F32
secondary
#426C31
accent
#DD4B74
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050206
muted
#7A787A

Preview Lab

Preview with #280F32

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

Preview Lab → · Contrast checker → · Palette generator →

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