#280B40#280B40

#280B40 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.1% C 0.095 H 304.9°. Best body text is #FFFFFF at 17.32:1 contrast (WCAG AA passes).

Color values

HEX#280B40
RGBrgb(40, 11, 64)
HSLhsl(273, 71%, 15%)
HSVhsv(273, 83%, 25%)
CMYKcmyk(37.5%, 82.8%, 0%, 74.9%)
CIE-LABlab(9.49, 26.32, -27.45)
CIE-LCHlch(9.49, 38.03, 313.79°)
OKLaboklab(23.15% 0.0545 -0.0781)
OKLCHoklch(23.15% 0.095 304.9)
XYZxyz(1.9199, 1.0606, 4.9531)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280B40 #23400B
analogous
#0D0B40 #280B40 #400B3E
triadic
#280B40 #40280B #0B4028
tetradic
#280B40 #400D0B #23400B #0B3E40
square
#280B40 #400D0B #23400B #0B3E40
split-complementary
#280B40 #3E400B #0B400D
monochromatic
#10041A #10041A #280B40 #491474 #691DA8

Accessibility & contrast

On white

17.32
#280B40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280B40
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280B40#FFFFFF#000000##FFFFFF
##280B401.0017.321.2117.32
#FFFFFF17.321.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A42
Deuteranopia (green-blind)
#001A3F
Tritanopia (blue-blind)
#231824
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #280b40;
/* rgb */ color: rgb(40, 11, 64);
/* oklch */ color: oklch(23.1% 0.095 304.9);
Tailwind
colors: {
  custom: {
    50: '#654d75',
    500: '#280b40',
    950: '#000000',
  },
}
SCSS
$custom: #280b40;
$custom-light: #654d75;
$custom-dark: #000000;
JSON
{
  "hex": "#280b40",
  "rgb": {
    "r": 40,
    "g": 11,
    "b": 64
  },
  "hsl": {
    "h": 272.83,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.23148,
    "c": 0.09522,
    "h": 304.9
  },
  "luminance": 0.01061
}

Semantic roles & 50–950 ramp

primary
#280B40
secondary
#507D2A
accent
#ED3A8B
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #280B40

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

Preview Lab → · Contrast checker → · Palette generator →

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