#280B42#280B42

#280B42 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.3% C 0.098 H 303.6°. Best body text is #FFFFFF at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#280B42
RGBrgb(40, 11, 66)
HSLhsl(272, 71%, 15%)
HSVhsv(272, 83%, 26%)
CMYKcmyk(39.4%, 83.3%, 0%, 74.1%)
CIE-LABlab(9.67, 26.88, -28.57)
CIE-LCHlch(9.67, 39.23, 313.25°)
OKLaboklab(23.34% 0.054 -0.0814)
OKLCHoklch(23.34% 0.098 303.6)
XYZxyz(1.9779, 1.0838, 5.2582)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280B42 #25420B
analogous
#0C0B42 #280B42 #420B41
triadic
#280B42 #42280B #0B4228
tetradic
#280B42 #420C0B #25420B #0B4142
square
#280B42 #420C0B #25420B #0B4142
split-complementary
#280B42 #41420B #0B420C
monochromatic
#10041A #10041A #280B42 #481476 #681CAB

Accessibility & contrast

On white

17.26
#280B42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#280B42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280B42
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280B42#FFFFFF#000000##FFFFFF
##280B421.0017.261.2217.26
#FFFFFF17.261.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A44
Deuteranopia (green-blind)
#001B41
Tritanopia (blue-blind)
#231926
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #280b42;
/* rgb */ color: rgb(40, 11, 66);
/* oklch */ color: oklch(23.3% 0.098 303.6);
Tailwind
colors: {
  custom: {
    50: '#654d77',
    500: '#280b42',
    950: '#000000',
  },
}
SCSS
$custom: #280b42;
$custom-light: #654d77;
$custom-dark: #000000;
JSON
{
  "hex": "#280b42",
  "rgb": {
    "r": 40,
    "g": 11,
    "b": 66
  },
  "hsl": {
    "h": 271.636,
    "s": 71.429,
    "l": 15.098
  },
  "oklch": {
    "l": 0.23336,
    "c": 0.09767,
    "h": 303.6
  },
  "luminance": 0.01084
}

Semantic roles & 50–950 ramp

primary
#280B42
secondary
#527F2A
accent
#EE3A8F
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #280B42

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

Preview Lab → · Contrast checker → · Palette generator →

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