#280B34#280B34

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

Color values

HEX#280B34
RGBrgb(40, 11, 52)
HSLhsl(282, 65%, 12%)
HSVhsv(282, 79%, 20%)
CMYKcmyk(23.1%, 78.8%, 0%, 79.6%)
CIE-LABlab(8.47, 23.07, -20.45)
CIE-LCHlch(8.47, 30.83, 318.44°)
OKLaboklab(22.1% 0.0563 -0.0575)
OKLCHoklch(22.1% 0.081 314.4)
XYZxyz(1.6145, 0.9384, 3.3442)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280B34 #17340B
analogous
#140B34 #280B34 #340B2C
triadic
#280B34 #34280B #0B3428
tetradic
#280B34 #34140B #17340B #0B2C34
square
#280B34 #34140B #17340B #0B2C34
split-complementary
#280B34 #2C340B #0B3414
monochromatic
#130519 #130519 #280B34 #4F1667 #762099

Accessibility & contrast

On white

17.68
#280B34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280B34
17.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280B34#FFFFFF#000000##FFFFFF
##280B341.0017.681.1917.68
#FFFFFF17.681.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001735
Deuteranopia (green-blind)
#091933
Tritanopia (blue-blind)
#27131E
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #280b34;
/* rgb */ color: rgb(40, 11, 52);
/* oklch */ color: oklch(22.1% 0.081 314.4);
Tailwind
colors: {
  custom: {
    50: '#644c6c',
    500: '#280b34',
    950: '#000000',
  },
}
SCSS
$custom: #280b34;
$custom-light: #644c6c;
$custom-dark: #000000;
JSON
{
  "hex": "#280b34",
  "rgb": {
    "r": 40,
    "g": 11,
    "b": 52
  },
  "hsl": {
    "h": 282.439,
    "s": 65.079,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22098,
    "c": 0.0805,
    "h": 314.4
  },
  "luminance": 0.00938
}

Semantic roles & 50–950 ramp

primary
#280B34
secondary
#3F712A
accent
#E84071
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050107
muted
#7A777A

Preview Lab

Preview with #280B34

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

Preview Lab → · Contrast checker → · Palette generator →

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