#280D4C#280D4C

#280D4C is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.6% C 0.107 H 297.2°. Best body text is #FFFFFF at 16.77:1 contrast (WCAG AA passes).

Color values

HEX#280D4C
RGBrgb(40, 13, 76)
HSLhsl(266, 71%, 17%)
HSVhsv(266, 83%, 30%)
CMYKcmyk(47.4%, 82.9%, 0%, 70.2%)
CIE-LABlab(11.00, 28.74, -33.41)
CIE-LCHlch(11.00, 44.07, 310.70°)
OKLaboklab(24.57% 0.0492 -0.0956)
OKLCHoklch(24.57% 0.108 297.2)
XYZxyz(2.3232, 1.2607, 6.9570)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280D4C #314C0D
analogous
#0D124C #280D4C #470D4C
triadic
#280D4C #4C280D #0D4C28
tetradic
#280D4C #4C0D12 #314C0D #0D4C47
square
#280D4C #4C0D12 #314C0D #0D4C47
split-complementary
#280D4C #4C470D #124C0D
monochromatic
#0E041A #0E041A #280D4C #441680 #5F1FB5

Accessibility & contrast

On white

16.77
#280D4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280D4C
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280D4C#FFFFFF#000000##FFFFFF
##280D4C1.0016.771.2516.77
#FFFFFF16.771.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4E
Deuteranopia (green-blind)
#001D4B
Tritanopia (blue-blind)
#1F1E2C
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #280d4c;
/* rgb */ color: rgb(40, 13, 76);
/* oklch */ color: oklch(24.6% 0.107 297.2);
Tailwind
colors: {
  custom: {
    50: '#664f7f',
    500: '#280d4c',
    950: '#000000',
  },
}
SCSS
$custom: #280d4c;
$custom-light: #664f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#280d4c",
  "rgb": {
    "r": 40,
    "g": 13,
    "b": 76
  },
  "hsl": {
    "h": 265.714,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.24569,
    "c": 0.1075,
    "h": 297.2
  },
  "luminance": 0.01261
}

Semantic roles & 50–950 ramp

primary
#280D4C
secondary
#61872E
accent
#EE3AA1
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #280D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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