#280A36#280A36

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

Color values

HEX#280A36
RGBrgb(40, 10, 54)
HSLhsl(281, 69%, 13%)
HSVhsv(281, 81%, 21%)
CMYKcmyk(25.9%, 81.5%, 0%, 78.8%)
CIE-LABlab(8.43, 24.13, -21.96)
CIE-LCHlch(8.43, 32.62, 317.69°)
OKLaboklab(22.13% 0.0575 -0.062)
OKLCHoklch(22.13% 0.085 312.8)
XYZxyz(1.6493, 0.9346, 3.5828)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280A36 #18360A
analogous
#120A36 #280A36 #360A2E
triadic
#280A36 #36280A #0A3628
tetradic
#280A36 #36120A #18360A #0A2E36
square
#280A36 #36120A #18360A #0A2E36
split-complementary
#280A36 #2E360A #0A3612
monochromatic
#13051A #13051A #280A36 #4E146A #741D9D

Accessibility & contrast

On white

17.69
#280A36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280A36
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280A36#FFFFFF#000000##FFFFFF
##280A361.0017.691.1917.69
#FFFFFF17.691.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001737
Deuteranopia (green-blind)
#071935
Tritanopia (blue-blind)
#26131F
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #280a36;
/* rgb */ color: rgb(40, 10, 54);
/* oklch */ color: oklch(22.1% 0.085 312.8);
Tailwind
colors: {
  custom: {
    50: '#644c6d',
    500: '#280a36',
    950: '#000000',
  },
}
SCSS
$custom: #280a36;
$custom-light: #644c6d;
$custom-dark: #000000;
JSON
{
  "hex": "#280a36",
  "rgb": {
    "r": 40,
    "g": 10,
    "b": 54
  },
  "hsl": {
    "h": 280.909,
    "s": 68.75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22126,
    "c": 0.08451,
    "h": 312.8
  },
  "luminance": 0.00935
}

Semantic roles & 50–950 ramp

primary
#280A36
secondary
#407328
accent
#EC3C74
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050107
muted
#7A777A

Preview Lab

Preview with #280A36

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

Preview Lab → · Contrast checker → · Palette generator →

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