#280A3A#280A3A

#280A3A is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.5% C 0.089 H 309.5°. Best body text is #FFFFFF at 17.58:1 contrast (WCAG AA passes).

Color values

HEX#280A3A
RGBrgb(40, 10, 58)
HSLhsl(278, 71%, 13%)
HSVhsv(278, 83%, 23%)
CMYKcmyk(31%, 82.8%, 0%, 77.3%)
CIE-LABlab(8.77, 25.19, -24.32)
CIE-LCHlch(8.77, 35.01, 316.01°)
OKLaboklab(22.47% 0.0569 -0.0689)
OKLCHoklch(22.47% 0.089 309.5)
XYZxyz(1.7472, 0.9737, 4.0981)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280A3A #1C3A0A
analogous
#100A3A #280A3A #3A0A34
triadic
#280A3A #3A280A #0A3A28
tetradic
#280A3A #3A100A #1C3A0A #0A343A
square
#280A3A #3A100A #1C3A0A #0A343A
split-complementary
#280A3A #343A0A #0A3A10
monochromatic
#12051A #12051A #280A3A #4C136E #701CA2

Accessibility & contrast

On white

17.58
#280A3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#280A3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280A3A
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280A3A#FFFFFF#000000##FFFFFF
##280A3A1.0017.581.1917.58
#FFFFFF17.581.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183B
Deuteranopia (green-blind)
#031939
Tritanopia (blue-blind)
#251521
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #280a3a;
/* rgb */ color: rgb(40, 10, 58);
/* oklch */ color: oklch(22.5% 0.089 309.5);
Tailwind
colors: {
  custom: {
    50: '#644c70',
    500: '#280a3a',
    950: '#000000',
  },
}
SCSS
$custom: #280a3a;
$custom-light: #644c70;
$custom-dark: #000000;
JSON
{
  "hex": "#280a3a",
  "rgb": {
    "r": 40,
    "g": 10,
    "b": 58
  },
  "hsl": {
    "h": 277.5,
    "s": 70.588,
    "l": 13.333
  },
  "oklch": {
    "l": 0.22472,
    "c": 0.08933,
    "h": 309.5
  },
  "luminance": 0.00974
}

Semantic roles & 50–950 ramp

primary
#280A3A
secondary
#467728
accent
#ED3A7E
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #280A3A

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

Preview Lab → · Contrast checker → · Palette generator →

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