#280C33#280C33

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

Color values

HEX#280C33
RGBrgb(40, 12, 51)
HSLhsl(283, 62%, 12%)
HSVhsv(283, 76%, 20%)
CMYKcmyk(21.6%, 76.5%, 0%, 80%)
CIE-LABlab(8.59, 22.24, -19.51)
CIE-LCHlch(8.59, 29.59, 318.74°)
OKLaboklab(22.17% 0.0549 -0.0548)
OKLCHoklch(22.17% 0.078 315.1)
XYZxyz(1.6040, 0.9531, 3.2308)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280C33 #17330C
analogous
#150C33 #280C33 #330C2B
triadic
#280C33 #33280C #0C3328
tetradic
#280C33 #33150C #17330C #0C2B33
square
#280C33 #33150C #17330C #0C2B33
split-complementary
#280C33 #2B330C #0C3315
monochromatic
#130619 #130619 #280C33 #4F1865 #762396

Accessibility & contrast

On white

17.64
#280C33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280C33
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280C33#FFFFFF#000000##FFFFFF
##280C331.0017.641.1917.64
#FFFFFF17.641.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011734
Deuteranopia (green-blind)
#0B1932
Tritanopia (blue-blind)
#27131E
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #280c33;
/* rgb */ color: rgb(40, 12, 51);
/* oklch */ color: oklch(22.2% 0.078 315.1);
Tailwind
colors: {
  custom: {
    50: '#644d6b',
    500: '#280c33',
    950: '#000000',
  },
}
SCSS
$custom: #280c33;
$custom-light: #644d6b;
$custom-dark: #000000;
JSON
{
  "hex": "#280c33",
  "rgb": {
    "r": 40,
    "g": 12,
    "b": 51
  },
  "hsl": {
    "h": 283.077,
    "s": 61.905,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22165,
    "c": 0.07758,
    "h": 315.1
  },
  "luminance": 0.00953
}

Semantic roles & 50–950 ramp

primary
#280C33
secondary
#3F6F2C
accent
#E54371
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050106
muted
#7A777A

Preview Lab

Preview with #280C33

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

Preview Lab → · Contrast checker → · Palette generator →

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