#280A34#280A34

#280A34 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.0% C 0.082 H 314.6°. Best body text is #FFFFFF at 17.75:1 contrast (WCAG AA passes).

Color values

HEX#280A34
RGBrgb(40, 10, 52)
HSLhsl(283, 68%, 12%)
HSVhsv(283, 81%, 20%)
CMYKcmyk(23.1%, 80.8%, 0%, 79.6%)
CIE-LABlab(8.27, 23.61, -20.76)
CIE-LCHlch(8.27, 31.44, 318.67°)
OKLaboklab(21.96% 0.0577 -0.0584)
OKLCHoklch(21.96% 0.082 314.6)
XYZxyz(1.6033, 0.9162, 3.3405)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280A34 #16340A
analogous
#130A34 #280A34 #340A2B
triadic
#280A34 #34280A #0A3428
tetradic
#280A34 #34130A #16340A #0A2B34
square
#280A34 #34130A #16340A #0A2B34
split-complementary
#280A34 #2B340A #0A3413
monochromatic
#14051A #14051A #280A34 #4F1467 #771E9B

Accessibility & contrast

On white

17.75
#280A34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#280A34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280A34
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280A34#FFFFFF#000000##FFFFFF
##280A341.0017.751.1817.75
#FFFFFF17.751.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001635
Deuteranopia (green-blind)
#081933
Tritanopia (blue-blind)
#27121E
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #280a34;
/* rgb */ color: rgb(40, 10, 52);
/* oklch */ color: oklch(22.0% 0.082 314.6);
Tailwind
colors: {
  custom: {
    50: '#644c6c',
    500: '#280a34',
    950: '#000000',
  },
}
SCSS
$custom: #280a34;
$custom-light: #644c6c;
$custom-dark: #000000;
JSON
{
  "hex": "#280a34",
  "rgb": {
    "r": 40,
    "g": 10,
    "b": 52
  },
  "hsl": {
    "h": 282.857,
    "s": 67.742,
    "l": 12.157
  },
  "oklch": {
    "l": 0.21959,
    "c": 0.08212,
    "h": 314.6
  },
  "luminance": 0.00916
}

Semantic roles & 50–950 ramp

primary
#280A34
secondary
#3D7128
accent
#EB3D6F
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050107
muted
#7A777A

Preview Lab

Preview with #280A34

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

Preview Lab → · Contrast checker → · Palette generator →

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