#280D4A#280D4A

#280D4A is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.4% C 0.105 H 298.3°. Best body text is #FFFFFF at 16.85:1 contrast (WCAG AA passes).

Color values

HEX#280D4A
RGBrgb(40, 13, 74)
HSLhsl(267, 70%, 17%)
HSVhsv(267, 82%, 29%)
CMYKcmyk(45.9%, 82.4%, 0%, 71%)
CIE-LABlab(10.80, 28.15, -32.34)
CIE-LCHlch(10.80, 42.87, 311.03°)
OKLaboklab(24.37% 0.0497 -0.0925)
OKLCHoklch(24.37% 0.105 298.3)
XYZxyz(2.2547, 1.2333, 6.5965)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280D4A #2F4A0D
analogous
#0D114A #280D4A #470D4A
triadic
#280D4A #4A280D #0D4A28
tetradic
#280D4A #4A0D11 #2F4A0D #0D4A47
square
#280D4A #4A0D11 #2F4A0D #0D4A47
split-complementary
#280D4A #4A470D #114A0D
monochromatic
#0E051A #0E051A #280D4A #44167E #601FB2

Accessibility & contrast

On white

16.85
#280D4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#280D4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280D4A
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280D4A#FFFFFF#000000##FFFFFF
##280D4A1.0016.851.2516.85
#FFFFFF16.851.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4C
Deuteranopia (green-blind)
#001C49
Tritanopia (blue-blind)
#201D2B
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #280d4a;
/* rgb */ color: rgb(40, 13, 74);
/* oklch */ color: oklch(24.4% 0.105 298.3);
Tailwind
colors: {
  custom: {
    50: '#664f7d',
    500: '#280d4a',
    950: '#000000',
  },
}
SCSS
$custom: #280d4a;
$custom-light: #664f7d;
$custom-dark: #000000;
JSON
{
  "hex": "#280d4a",
  "rgb": {
    "r": 40,
    "g": 13,
    "b": 74
  },
  "hsl": {
    "h": 266.557,
    "s": 70.115,
    "l": 17.059
  },
  "oklch": {
    "l": 0.2437,
    "c": 0.105,
    "h": 298.3
  },
  "luminance": 0.01233
}

Semantic roles & 50–950 ramp

primary
#280D4A
secondary
#5E852E
accent
#ED3B9E
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #280D4A

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

Preview Lab → · Contrast checker → · Palette generator →

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