#280D41#280D41

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

Color values

HEX#280D41
RGBrgb(40, 13, 65)
HSLhsl(271, 67%, 15%)
HSVhsv(271, 80%, 25%)
CMYKcmyk(38.5%, 80%, 0%, 74.5%)
CIE-LABlab(9.96, 25.52, -27.40)
CIE-LCHlch(9.96, 37.44, 312.97°)
OKLaboklab(23.51% 0.0519 -0.0779)
OKLCHoklch(23.51% 0.094 303.6)
XYZxyz(1.9729, 1.1206, 5.1124)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280D41 #26410D
analogous
#0E0D41 #280D41 #410D40
triadic
#280D41 #41280D #0D4128
tetradic
#280D41 #410E0D #26410D #0D4041
square
#280D41 #410E0D #26410D #0D4041
split-complementary
#280D41 #40410D #0D410E
monochromatic
#10051A #10051A #280D41 #471774 #6721A7

Accessibility & contrast

On white

17.15
#280D41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280D41
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280D41#FFFFFF#000000##FFFFFF
##280D411.0017.151.2217.15
#FFFFFF17.151.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #280d41;
/* rgb */ color: rgb(40, 13, 65);
/* oklch */ color: oklch(23.5% 0.094 303.6);
Tailwind
colors: {
  custom: {
    50: '#654e76',
    500: '#280d41',
    950: '#000000',
  },
}
SCSS
$custom: #280d41;
$custom-light: #654e76;
$custom-dark: #000000;
JSON
{
  "hex": "#280d41",
  "rgb": {
    "r": 40,
    "g": 13,
    "b": 65
  },
  "hsl": {
    "h": 271.154,
    "s": 66.667,
    "l": 15.294
  },
  "oklch": {
    "l": 0.23511,
    "c": 0.09363,
    "h": 303.6
  },
  "luminance": 0.01121
}

Semantic roles & 50–950 ramp

primary
#280D41
secondary
#537D2D
accent
#EA3E91
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #280D41

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

Preview Lab → · Contrast checker → · Palette generator →

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