#280A3E#280A3E

#280A3E is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.8% C 0.094 H 306.6°. Best body text is #FFFFFF at 17.45:1 contrast (WCAG AA passes).

Color values

HEX#280A3E
RGBrgb(40, 10, 62)
HSLhsl(275, 72%, 14%)
HSVhsv(275, 84%, 24%)
CMYKcmyk(35.5%, 83.9%, 0%, 75.7%)
CIE-LABlab(9.12, 26.27, -26.62)
CIE-LCHlch(9.12, 37.40, 314.63°)
OKLaboklab(22.83% 0.0561 -0.0756)
OKLCHoklch(22.83% 0.094 306.6)
XYZxyz(1.8529, 1.0160, 4.6550)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280A3E #203E0A
analogous
#0E0A3E #280A3E #3E0A3A
triadic
#280A3E #3E280A #0A3E28
tetradic
#280A3E #3E0E0A #203E0A #0A3A3E
square
#280A3E #3E0E0A #203E0A #0A3A3E
split-complementary
#280A3E #3A3E0A #0A3E0E
monochromatic
#11041A #11041A #280A3E #4A1373 #6C1BA7

Accessibility & contrast

On white

17.45
#280A3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280A3E
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280A3E#FFFFFF#000000##FFFFFF
##280A3E1.0017.451.2017.45
#FFFFFF17.451.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193F
Deuteranopia (green-blind)
#001A3D
Tritanopia (blue-blind)
#241623
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #280a3e;
/* rgb */ color: rgb(40, 10, 62);
/* oklch */ color: oklch(22.8% 0.094 306.6);
Tailwind
colors: {
  custom: {
    50: '#654c74',
    500: '#280a3e',
    950: '#000000',
  },
}
SCSS
$custom: #280a3e;
$custom-light: #654c74;
$custom-dark: #000000;
JSON
{
  "hex": "#280a3e",
  "rgb": {
    "r": 40,
    "g": 10,
    "b": 62
  },
  "hsl": {
    "h": 274.615,
    "s": 72.222,
    "l": 14.118
  },
  "oklch": {
    "l": 0.22834,
    "c": 0.09415,
    "h": 306.6
  },
  "luminance": 0.01016
}

Semantic roles & 50–950 ramp

primary
#280A3E
secondary
#4C7B28
accent
#EF3986
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #280A3E

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

Preview Lab → · Contrast checker → · Palette generator →

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