#280D42#280D42

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

Color values

HEX#280D42
RGBrgb(40, 13, 66)
HSLhsl(271, 67%, 15%)
HSVhsv(271, 80%, 26%)
CMYKcmyk(39.4%, 80.3%, 0%, 74.1%)
CIE-LABlab(10.05, 25.81, -27.96)
CIE-LCHlch(10.05, 38.05, 312.71°)
OKLaboklab(23.6% 0.0517 -0.0796)
OKLCHoklch(23.6% 0.095 303)
XYZxyz(2.0021, 1.1323, 5.2663)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280D42 #27420D
analogous
#0D0D42 #280D42 #420D41
triadic
#280D42 #42280D #0D4228
tetradic
#280D42 #420D0D #27420D #0D4142
square
#280D42 #420D0D #27420D #0D4142
split-complementary
#280D42 #41420D #0D420D
monochromatic
#0F051A #0F051A #280D42 #471775 #6621A8

Accessibility & contrast

On white

17.12
#280D42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#280D42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280D42
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280D42#FFFFFF#000000##FFFFFF
##280D421.0017.121.2317.12
#FFFFFF17.121.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B44
Deuteranopia (green-blind)
#001B41
Tritanopia (blue-blind)
#231A26
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #280d42;
/* rgb */ color: rgb(40, 13, 66);
/* oklch */ color: oklch(23.6% 0.095 303.0);
Tailwind
colors: {
  custom: {
    50: '#654e77',
    500: '#280d42',
    950: '#000000',
  },
}
SCSS
$custom: #280d42;
$custom-light: #654e77;
$custom-dark: #000000;
JSON
{
  "hex": "#280d42",
  "rgb": {
    "r": 40,
    "g": 13,
    "b": 66
  },
  "hsl": {
    "h": 270.566,
    "s": 67.089,
    "l": 15.49
  },
  "oklch": {
    "l": 0.23603,
    "c": 0.0949,
    "h": 303
  },
  "luminance": 0.01132
}

Semantic roles & 50–950 ramp

primary
#280D42
secondary
#557E2D
accent
#EA3E92
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #280D42

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

Preview Lab → · Contrast checker → · Palette generator →

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