#280C4D#280C4D

#280C4D is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.5% C 0.110 H 296.9°. Best body text is #FFFFFF at 16.80:1 contrast (WCAG AA passes).

Color values

HEX#280C4D
RGBrgb(40, 12, 77)
HSLhsl(266, 73%, 17%)
HSVhsv(266, 84%, 30%)
CMYKcmyk(48.1%, 84.4%, 0%, 69.8%)
CIE-LABlab(10.92, 29.54, -34.23)
CIE-LCHlch(10.92, 45.21, 310.80°)
OKLaboklab(24.55% 0.0498 -0.098)
OKLCHoklch(24.55% 0.11 296.9)
XYZxyz(2.3457, 1.2498, 7.1374)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280C4D #314D0C
analogous
#0C114D #280C4D #490C4D
triadic
#280C4D #4D280C #0C4D28
tetradic
#280C4D #4D0C11 #314D0C #0C4D49
square
#280C4D #4D0C11 #314D0C #0C4D49
split-complementary
#280C4D #4D490C #114D0C
monochromatic
#0E041A #0E041A #280C4D #441482 #5F1DB7

Accessibility & contrast

On white

16.80
#280C4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280C4D
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280C4D#FFFFFF#000000##FFFFFF
##280C4D1.0016.801.2516.80
#FFFFFF16.801.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4F
Deuteranopia (green-blind)
#001C4C
Tritanopia (blue-blind)
#1E1E2C
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #280c4d;
/* rgb */ color: rgb(40, 12, 77);
/* oklch */ color: oklch(24.5% 0.110 296.9);
Tailwind
colors: {
  custom: {
    50: '#674e7f',
    500: '#280c4d',
    950: '#000000',
  },
}
SCSS
$custom: #280c4d;
$custom-light: #674e7f;
$custom-dark: #000000;
JSON
{
  "hex": "#280c4d",
  "rgb": {
    "r": 40,
    "g": 12,
    "b": 77
  },
  "hsl": {
    "h": 265.846,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.24546,
    "c": 0.10995,
    "h": 296.9
  },
  "luminance": 0.0125
}

Semantic roles & 50–950 ramp

primary
#280C4D
secondary
#61892C
accent
#F038A1
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #280C4D

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

Preview Lab → · Contrast checker → · Palette generator →

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