#280B41#280B41

#280B41 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.2% C 0.096 H 304.2°. Best body text is #FFFFFF at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#280B41
RGBrgb(40, 11, 65)
HSLhsl(272, 71%, 15%)
HSVhsv(272, 83%, 25%)
CMYKcmyk(38.5%, 83.1%, 0%, 74.5%)
CIE-LABlab(9.58, 26.60, -28.01)
CIE-LCHlch(9.58, 38.63, 313.51°)
OKLaboklab(23.24% 0.0542 -0.0797)
OKLCHoklch(23.24% 0.096 304.2)
XYZxyz(1.9487, 1.0721, 5.1043)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280B41 #24410B
analogous
#0D0B41 #280B41 #410B3F
triadic
#280B41 #41280B #0B4128
tetradic
#280B41 #410D0B #24410B #0B3F41
square
#280B41 #410D0B #24410B #0B3F41
split-complementary
#280B41 #3F410B #0B410D
monochromatic
#10041A #10041A #280B41 #481475 #681DAA

Accessibility & contrast

On white

17.29
#280B41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280B41
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280B41#FFFFFF#000000##FFFFFF
##280B411.0017.291.2117.29
#FFFFFF17.291.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A43
Deuteranopia (green-blind)
#001B40
Tritanopia (blue-blind)
#231825
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #280b41;
/* rgb */ color: rgb(40, 11, 65);
/* oklch */ color: oklch(23.2% 0.096 304.2);
Tailwind
colors: {
  custom: {
    50: '#654d76',
    500: '#280b41',
    950: '#000000',
  },
}
SCSS
$custom: #280b41;
$custom-light: #654d76;
$custom-dark: #000000;
JSON
{
  "hex": "#280b41",
  "rgb": {
    "r": 40,
    "g": 11,
    "b": 65
  },
  "hsl": {
    "h": 272.222,
    "s": 71.053,
    "l": 14.902
  },
  "oklch": {
    "l": 0.23241,
    "c": 0.09645,
    "h": 304.2
  },
  "luminance": 0.01072
}

Semantic roles & 50–950 ramp

primary
#280B41
secondary
#517E2A
accent
#EE3A8D
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #280B41

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

Preview Lab → · Contrast checker → · Palette generator →

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