#280C34#280C34

#280C34 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.2% C 0.079 H 314.1°. Best body text is #FFFFFF at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#280C34
RGBrgb(40, 12, 52)
HSLhsl(282, 63%, 13%)
HSVhsv(282, 77%, 20%)
CMYKcmyk(23.1%, 76.9%, 0%, 79.6%)
CIE-LABlab(8.67, 22.50, -20.12)
CIE-LCHlch(8.67, 30.19, 318.20°)
OKLaboklab(22.25% 0.0549 -0.0566)
OKLCHoklch(22.25% 0.079 314.1)
XYZxyz(1.6263, 0.9620, 3.3482)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280C34 #18340C
analogous
#140C34 #280C34 #340C2C
triadic
#280C34 #34280C #0C3428
tetradic
#280C34 #34140C #18340C #0C2C34
square
#280C34 #34140C #18340C #0C2C34
split-complementary
#280C34 #2C340C #0C3414
monochromatic
#130619 #130619 #280C34 #4E1766 #742397

Accessibility & contrast

On white

17.61
#280C34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280C34
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280C34#FFFFFF#000000##FFFFFF
##280C341.0017.611.1917.61
#FFFFFF17.611.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001735
Deuteranopia (green-blind)
#0A1A33
Tritanopia (blue-blind)
#27141E
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #280c34;
/* rgb */ color: rgb(40, 12, 52);
/* oklch */ color: oklch(22.2% 0.079 314.1);
Tailwind
colors: {
  custom: {
    50: '#644d6c',
    500: '#280c34',
    950: '#000000',
  },
}
SCSS
$custom: #280c34;
$custom-light: #644d6c;
$custom-dark: #000000;
JSON
{
  "hex": "#280c34",
  "rgb": {
    "r": 40,
    "g": 12,
    "b": 52
  },
  "hsl": {
    "h": 282,
    "s": 62.5,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22245,
    "c": 0.07882,
    "h": 314.1
  },
  "luminance": 0.00962
}

Semantic roles & 50–950 ramp

primary
#280C34
secondary
#40702C
accent
#E64273
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050107
muted
#7A777A

Preview Lab

Preview with #280C34

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

Preview Lab → · Contrast checker → · Palette generator →

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