#280A42#280A42

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

Color values

HEX#280A42
RGBrgb(40, 10, 66)
HSLhsl(272, 74%, 15%)
HSVhsv(272, 85%, 26%)
CMYKcmyk(39.4%, 84.8%, 0%, 74.1%)
CIE-LABlab(9.49, 27.38, -28.86)
CIE-LCHlch(9.49, 39.78, 313.49°)
OKLaboklab(23.21% 0.0551 -0.0822)
OKLCHoklch(23.21% 0.099 303.8)
XYZxyz(1.9668, 1.0616, 5.2545)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280A42 #24420A
analogous
#0C0A42 #280A42 #420A40
triadic
#280A42 #42280A #0A4228
tetradic
#280A42 #420C0A #24420A #0A4042
square
#280A42 #420C0A #24420A #0A4042
split-complementary
#280A42 #40420A #0A420C
monochromatic
#10041B #10041B #280A42 #481277 #681AAC

Accessibility & contrast

On white

17.32
#280A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280A42
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280A42#FFFFFF#000000##FFFFFF
##280A421.0017.321.2117.32
#FFFFFF17.321.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A44
Deuteranopia (green-blind)
#001A41
Tritanopia (blue-blind)
#231825
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #280a42;
/* rgb */ color: rgb(40, 10, 66);
/* oklch */ color: oklch(23.2% 0.099 303.8);
Tailwind
colors: {
  custom: {
    50: '#654d77',
    500: '#280a42',
    950: '#000000',
  },
}
SCSS
$custom: #280a42;
$custom-light: #654d77;
$custom-dark: #000000;
JSON
{
  "hex": "#280a42",
  "rgb": {
    "r": 40,
    "g": 10,
    "b": 66
  },
  "hsl": {
    "h": 272.143,
    "s": 73.684,
    "l": 14.902
  },
  "oklch": {
    "l": 0.23211,
    "c": 0.09898,
    "h": 303.8
  },
  "luminance": 0.01062
}

Semantic roles & 50–950 ramp

primary
#280A42
secondary
#517F29
accent
#F0378D
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #280A42

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

Preview Lab → · Contrast checker → · Palette generator →

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