#280D3A#280D3A

#280D3A is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.9% C 0.085 H 308.7°. Best body text is #FFFFFF at 17.37:1 contrast (WCAG AA passes).

Color values

HEX#280D3A
RGBrgb(40, 13, 58)
HSLhsl(276, 63%, 14%)
HSVhsv(276, 78%, 23%)
CMYKcmyk(31%, 77.6%, 0%, 77.3%)
CIE-LABlab(9.36, 23.55, -23.37)
CIE-LCHlch(9.36, 33.18, 315.22°)
OKLaboklab(22.89% 0.053 -0.0661)
OKLCHoklch(22.89% 0.085 308.7)
XYZxyz(1.7826, 1.0445, 4.1099)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280D3A #1F3A0D
analogous
#120D3A #280D3A #3A0D36
triadic
#280D3A #3A280D #0D3A28
tetradic
#280D3A #3A120D #1F3A0D #0D363A
square
#280D3A #3A120D #1F3A0D #0D363A
split-complementary
#280D3A #363A0D #0D3A12
monochromatic
#110619 #110619 #280D3A #4A186C #6D239E

Accessibility & contrast

On white

17.37
#280D3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#280D3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280D3A
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280D3A#FFFFFF#000000##FFFFFF
##280D3A1.0017.371.2117.37
#FFFFFF17.371.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193B
Deuteranopia (green-blind)
#051B39
Tritanopia (blue-blind)
#251722
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #280d3a;
/* rgb */ color: rgb(40, 13, 58);
/* oklch */ color: oklch(22.9% 0.085 308.7);
Tailwind
colors: {
  custom: {
    50: '#644e70',
    500: '#280d3a',
    950: '#000000',
  },
}
SCSS
$custom: #280d3a;
$custom-light: #644e70;
$custom-dark: #000000;
JSON
{
  "hex": "#280d3a",
  "rgb": {
    "r": 40,
    "g": 13,
    "b": 58
  },
  "hsl": {
    "h": 276,
    "s": 63.38,
    "l": 13.922
  },
  "oklch": {
    "l": 0.22891,
    "c": 0.08471,
    "h": 308.7
  },
  "luminance": 0.01044
}

Semantic roles & 50–950 ramp

primary
#280D3A
secondary
#4A762D
accent
#E64183
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#050107
muted
#7A777A

Preview Lab

Preview with #280D3A

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

Preview Lab → · Contrast checker → · Palette generator →

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