#280C41#280C41

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

Color values

HEX#280C41
RGBrgb(40, 12, 65)
HSLhsl(272, 69%, 15%)
HSVhsv(272, 82%, 25%)
CMYKcmyk(38.5%, 81.5%, 0%, 74.5%)
CIE-LABlab(9.76, 26.07, -27.71)
CIE-LCHlch(9.76, 38.05, 313.25°)
OKLaboklab(23.37% 0.0531 -0.0789)
OKLCHoklch(23.37% 0.095 303.9)
XYZxyz(1.9605, 1.0957, 5.1082)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280C41 #25410C
analogous
#0D0C41 #280C41 #410C3F
triadic
#280C41 #41280C #0C4128
tetradic
#280C41 #410D0C #25410C #0C3F41
square
#280C41 #410D0C #25410C #0C3F41
split-complementary
#280C41 #3F410C #0C410D
monochromatic
#10051A #10051A #280C41 #481675 #681FA8

Accessibility & contrast

On white

17.22
#280C41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280C41
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280C41#FFFFFF#000000##FFFFFF
##280C411.0017.221.2217.22
#FFFFFF17.221.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #280c41;
/* rgb */ color: rgb(40, 12, 65);
/* oklch */ color: oklch(23.4% 0.095 303.9);
Tailwind
colors: {
  custom: {
    50: '#654e76',
    500: '#280c41',
    950: '#000000',
  },
}
SCSS
$custom: #280c41;
$custom-light: #654e76;
$custom-dark: #000000;
JSON
{
  "hex": "#280c41",
  "rgb": {
    "r": 40,
    "g": 12,
    "b": 65
  },
  "hsl": {
    "h": 271.698,
    "s": 68.831,
    "l": 15.098
  },
  "oklch": {
    "l": 0.23373,
    "c": 0.09506,
    "h": 303.9
  },
  "luminance": 0.01096
}

Semantic roles & 50–950 ramp

primary
#280C41
secondary
#527D2C
accent
#EC3C8F
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #280C41

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

Preview Lab → · Contrast checker → · Palette generator →

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