#280C45#280C45

#280C45 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.8% C 0.100 H 301.4°. Best body text is #FFFFFF at 17.09:1 contrast (WCAG AA passes).

Color values

HEX#280C45
RGBrgb(40, 12, 69)
HSLhsl(269, 70%, 16%)
HSVhsv(269, 83%, 27%)
CMYKcmyk(42%, 82.6%, 0%, 72.9%)
CIE-LABlab(10.14, 27.21, -29.93)
CIE-LCHlch(10.14, 40.45, 312.28°)
OKLaboklab(23.75% 0.0521 -0.0854)
OKLCHoklch(23.75% 0.1 301.4)
XYZxyz(2.0805, 1.1437, 5.7402)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280C45 #29450C
analogous
#0C0C45 #280C45 #440C45
triadic
#280C45 #45280C #0C4528
tetradic
#280C45 #450C0C #29450C #0C4544
square
#280C45 #450C0C #29450C #0C4544
split-complementary
#280C45 #45440C #0C450C
monochromatic
#0F051A #0F051A #280C45 #461579 #641EAD

Accessibility & contrast

On white

17.09
#280C45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280C45
17.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280C45#FFFFFF#000000##FFFFFF
##280C451.0017.091.2317.09
#FFFFFF17.091.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B47
Deuteranopia (green-blind)
#001B44
Tritanopia (blue-blind)
#221A27
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #280c45;
/* rgb */ color: rgb(40, 12, 69);
/* oklch */ color: oklch(23.8% 0.100 301.4);
Tailwind
colors: {
  custom: {
    50: '#654e79',
    500: '#280c45',
    950: '#000000',
  },
}
SCSS
$custom: #280c45;
$custom-light: #654e79;
$custom-dark: #000000;
JSON
{
  "hex": "#280c45",
  "rgb": {
    "r": 40,
    "g": 12,
    "b": 69
  },
  "hsl": {
    "h": 269.474,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.23751,
    "c": 0.10004,
    "h": 301.4
  },
  "luminance": 0.01144
}

Semantic roles & 50–950 ramp

primary
#280C45
secondary
#57812C
accent
#ED3B95
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #280C45

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

Preview Lab → · Contrast checker → · Palette generator →

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