#280A45#280A45

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

Color values

HEX#280A45
RGBrgb(40, 10, 69)
HSLhsl(271, 75%, 15%)
HSVhsv(271, 86%, 27%)
CMYKcmyk(42%, 85.5%, 0%, 72.9%)
CIE-LABlab(9.78, 28.22, -30.51)
CIE-LCHlch(9.78, 41.56, 312.77°)
OKLaboklab(23.5% 0.0543 -0.0871)
OKLCHoklch(23.5% 0.103 301.9)
XYZxyz(2.0575, 1.0979, 5.7326)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280A45 #27450A
analogous
#0A0A45 #280A45 #450A44
triadic
#280A45 #45280A #0A4528
tetradic
#280A45 #450A0A #27450A #0A4445
square
#280A45 #450A0A #27450A #0A4445
split-complementary
#280A45 #44450A #0A450A
monochromatic
#0F041B #0F041B #280A45 #47127A #6619B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##280A45#FFFFFF#000000##FFFFFF
##280A451.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)
#001B47
Deuteranopia (green-blind)
#001B44
Tritanopia (blue-blind)
#221927
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #280a45;
/* rgb */ color: rgb(40, 10, 69);
/* oklch */ color: oklch(23.5% 0.103 301.9);
Tailwind
colors: {
  custom: {
    50: '#664d79',
    500: '#280a45',
    950: '#000000',
  },
}
SCSS
$custom: #280a45;
$custom-light: #664d79;
$custom-dark: #000000;
JSON
{
  "hex": "#280a45",
  "rgb": {
    "r": 40,
    "g": 10,
    "b": 69
  },
  "hsl": {
    "h": 270.508,
    "s": 74.684,
    "l": 15.49
  },
  "oklch": {
    "l": 0.23502,
    "c": 0.10259,
    "h": 301.9
  },
  "luminance": 0.01098
}

Semantic roles & 50–950 ramp

primary
#280A45
secondary
#558229
accent
#F13692
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #280A45

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

Preview Lab → · Contrast checker → · Palette generator →

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