#280C35#280C35

#280C35 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.3% C 0.080 H 313.2°. Best body text is #FFFFFF at 17.58:1 contrast (WCAG AA passes).

Color values

HEX#280C35
RGBrgb(40, 12, 53)
HSLhsl(281, 63%, 13%)
HSVhsv(281, 77%, 21%)
CMYKcmyk(24.5%, 77.4%, 0%, 79.2%)
CIE-LABlab(8.75, 22.76, -20.73)
CIE-LCHlch(8.75, 30.79, 317.68°)
OKLaboklab(22.33% 0.0548 -0.0583)
OKLCHoklch(22.33% 0.08 313.2)
XYZxyz(1.6490, 0.9711, 3.4681)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280C35 #19350C
analogous
#140C35 #280C35 #350C2D
triadic
#280C35 #35280C #0C3528
tetradic
#280C35 #35140C #19350C #0C2D35
square
#280C35 #35140C #19350C #0C2D35
split-complementary
#280C35 #2D350C #0C3514
monochromatic
#130619 #130619 #280C35 #4E1767 #732399

Accessibility & contrast

On white

17.58
#280C35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280C35
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280C35#FFFFFF#000000##FFFFFF
##280C351.0017.581.1917.58
#FFFFFF17.581.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001836
Deuteranopia (green-blind)
#091A34
Tritanopia (blue-blind)
#27141F
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #280c35;
/* rgb */ color: rgb(40, 12, 53);
/* oklch */ color: oklch(22.3% 0.080 313.2);
Tailwind
colors: {
  custom: {
    50: '#644d6c',
    500: '#280c35',
    950: '#000000',
  },
}
SCSS
$custom: #280c35;
$custom-light: #644d6c;
$custom-dark: #000000;
JSON
{
  "hex": "#280c35",
  "rgb": {
    "r": 40,
    "g": 12,
    "b": 53
  },
  "hsl": {
    "h": 280.976,
    "s": 63.077,
    "l": 12.745
  },
  "oklch": {
    "l": 0.22326,
    "c": 0.08006,
    "h": 313.2
  },
  "luminance": 0.00971
}

Semantic roles & 50–950 ramp

primary
#280C35
secondary
#42712C
accent
#E64276
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050107
muted
#7A777A

Preview Lab

Preview with #280C35

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

Preview Lab → · Contrast checker → · Palette generator →

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