#280A40#280A40

#280A40 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 23.0% C 0.097 H 305.2°. Best body text is #FFFFFF at 17.39:1 contrast (WCAG AA passes).

Color values

HEX#280A40
RGBrgb(40, 10, 64)
HSLhsl(273, 73%, 15%)
HSVhsv(273, 84%, 25%)
CMYKcmyk(37.5%, 84.4%, 0%, 74.9%)
CIE-LABlab(9.31, 26.82, -27.74)
CIE-LCHlch(9.31, 38.59, 314.03°)
OKLaboklab(23.02% 0.0556 -0.079)
OKLCHoklch(23.02% 0.097 305.2)
XYZxyz(1.9088, 1.0384, 4.9494)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280A40 #22400A
analogous
#0D0A40 #280A40 #400A3D
triadic
#280A40 #40280A #0A4028
tetradic
#280A40 #400D0A #22400A #0A3D40
square
#280A40 #400D0A #22400A #0A3D40
split-complementary
#280A40 #3D400A #0A400D
monochromatic
#11041A #11041A #280A40 #491275 #6A1BAA

Accessibility & contrast

On white

17.39
#280A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280A40
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280A40#FFFFFF#000000##FFFFFF
##280A401.0017.391.2117.39
#FFFFFF17.391.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001942
Deuteranopia (green-blind)
#001A3F
Tritanopia (blue-blind)
#241724
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #280a40;
/* rgb */ color: rgb(40, 10, 64);
/* oklch */ color: oklch(23.0% 0.097 305.2);
Tailwind
colors: {
  custom: {
    50: '#654c75',
    500: '#280a40',
    950: '#000000',
  },
}
SCSS
$custom: #280a40;
$custom-light: #654c75;
$custom-dark: #000000;
JSON
{
  "hex": "#280a40",
  "rgb": {
    "r": 40,
    "g": 10,
    "b": 64
  },
  "hsl": {
    "h": 273.333,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.23021,
    "c": 0.09657,
    "h": 305.2
  },
  "luminance": 0.01038
}

Semantic roles & 50–950 ramp

primary
#280A40
secondary
#4E7D29
accent
#F0388A
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #280A40

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

Preview Lab → · Contrast checker → · Palette generator →

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