#280C32#280C32

#280C32 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.1% C 0.076 H 316.0°. Best body text is #FFFFFF at 17.66:1 contrast (WCAG AA passes).

Color values

HEX#280C32
RGBrgb(40, 12, 50)
HSLhsl(284, 61%, 12%)
HSVhsv(284, 76%, 20%)
CMYKcmyk(20%, 76%, 0%, 80.4%)
CIE-LABlab(8.52, 21.98, -18.90)
CIE-LCHlch(8.52, 28.99, 319.31°)
OKLaboklab(22.09% 0.055 -0.053)
OKLCHoklch(22.09% 0.076 316)
XYZxyz(1.5822, 0.9444, 3.1159)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280C32 #16320C
analogous
#150C32 #280C32 #320C29
triadic
#280C32 #32280C #0C3228
tetradic
#280C32 #32150C #16320C #0C2932
square
#280C32 #32150C #16320C #0C2932
split-complementary
#280C32 #29320C #0C3215
monochromatic
#140619 #140619 #280C32 #4F1863 #772495

Accessibility & contrast

On white

17.66
#280C32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280C32
17.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280C32#FFFFFF#000000##FFFFFF
##280C321.0017.661.1917.66
#FFFFFF17.661.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021733
Deuteranopia (green-blind)
#0C1931
Tritanopia (blue-blind)
#27131D
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #280c32;
/* rgb */ color: rgb(40, 12, 50);
/* oklch */ color: oklch(22.1% 0.076 316.0);
Tailwind
colors: {
  custom: {
    50: '#634d6a',
    500: '#280c32',
    950: '#000000',
  },
}
SCSS
$custom: #280c32;
$custom-light: #634d6a;
$custom-dark: #000000;
JSON
{
  "hex": "#280c32",
  "rgb": {
    "r": 40,
    "g": 12,
    "b": 50
  },
  "hsl": {
    "h": 284.211,
    "s": 61.29,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22087,
    "c": 0.07634,
    "h": 316
  },
  "luminance": 0.00944
}

Semantic roles & 50–950 ramp

primary
#280C32
secondary
#3D6E2C
accent
#E4436E
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050106
muted
#7A777A

Preview Lab

Preview with #280C32

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

Preview Lab → · Contrast checker → · Palette generator →

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