#280A3C#280A3C

#280A3C is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.7% C 0.092 H 308.0°. Best body text is #FFFFFF at 17.52:1 contrast (WCAG AA passes).

Color values

HEX#280A3C
RGBrgb(40, 10, 60)
HSLhsl(276, 71%, 14%)
HSVhsv(276, 83%, 24%)
CMYKcmyk(33.3%, 83.3%, 0%, 76.5%)
CIE-LABlab(8.95, 25.73, -25.47)
CIE-LCHlch(8.95, 36.21, 315.29°)
OKLaboklab(22.65% 0.0565 -0.0723)
OKLCHoklch(22.65% 0.092 308)
XYZxyz(1.7991, 0.9945, 4.3713)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280A3C #1E3C0A
analogous
#0F0A3C #280A3C #3C0A37
triadic
#280A3C #3C280A #0A3C28
tetradic
#280A3C #3C0F0A #1E3C0A #0A373C
square
#280A3C #3C0F0A #1E3C0A #0A373C
split-complementary
#280A3C #373C0A #0A3C0F
monochromatic
#11041A #11041A #280A3C #4B1370 #6E1BA5

Accessibility & contrast

On white

17.52
#280A3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#280A3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280A3C
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280A3C#FFFFFF#000000##FFFFFF
##280A3C1.0017.521.2017.52
#FFFFFF17.521.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183D
Deuteranopia (green-blind)
#001A3B
Tritanopia (blue-blind)
#251622
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #280a3c;
/* rgb */ color: rgb(40, 10, 60);
/* oklch */ color: oklch(22.7% 0.092 308.0);
Tailwind
colors: {
  custom: {
    50: '#654c72',
    500: '#280a3c',
    950: '#000000',
  },
}
SCSS
$custom: #280a3c;
$custom-light: #654c72;
$custom-dark: #000000;
JSON
{
  "hex": "#280a3c",
  "rgb": {
    "r": 40,
    "g": 10,
    "b": 60
  },
  "hsl": {
    "h": 276,
    "s": 71.429,
    "l": 13.725
  },
  "oklch": {
    "l": 0.22651,
    "c": 0.09173,
    "h": 308
  },
  "luminance": 0.00994
}

Semantic roles & 50–950 ramp

primary
#280A3C
secondary
#497928
accent
#EE3A82
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060108
muted
#7A777B

Preview Lab

Preview with #280A3C

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

Preview Lab → · Contrast checker → · Palette generator →

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