#280D36#280D36

#280D36 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.6% C 0.080 H 312.0°. Best body text is #FFFFFF at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#280D36
RGBrgb(40, 13, 54)
HSLhsl(280, 61%, 13%)
HSVhsv(280, 76%, 21%)
CMYKcmyk(25.9%, 75.9%, 0%, 78.8%)
CIE-LABlab(9.04, 22.45, -20.99)
CIE-LCHlch(9.04, 30.74, 316.92°)
OKLaboklab(22.56% 0.0533 -0.0591)
OKLCHoklch(22.56% 0.08 312)
XYZxyz(1.6847, 1.0053, 3.5946)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280D36 #1B360D
analogous
#130D36 #280D36 #360D2F
triadic
#280D36 #36280D #0D3628
tetradic
#280D36 #36130D #1B360D #0D2F36
square
#280D36 #36130D #1B360D #0D2F36
split-complementary
#280D36 #2F360D #0D3613
monochromatic
#120619 #120619 #280D36 #4D1967 #712599

Accessibility & contrast

On white

17.49
#280D36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280D36
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280D36#FFFFFF#000000##FFFFFF
##280D361.0017.491.2017.49
#FFFFFF17.491.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001837
Deuteranopia (green-blind)
#091A35
Tritanopia (blue-blind)
#261520
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #280d36;
/* rgb */ color: rgb(40, 13, 54);
/* oklch */ color: oklch(22.6% 0.080 312.0);
Tailwind
colors: {
  custom: {
    50: '#644e6d',
    500: '#280d36',
    950: '#000000',
  },
}
SCSS
$custom: #280d36;
$custom-light: #644e6d;
$custom-dark: #000000;
JSON
{
  "hex": "#280d36",
  "rgb": {
    "r": 40,
    "g": 13,
    "b": 54
  },
  "hsl": {
    "h": 279.512,
    "s": 61.194,
    "l": 13.137
  },
  "oklch": {
    "l": 0.22557,
    "c": 0.07962,
    "h": 312
  },
  "luminance": 0.01005
}

Semantic roles & 50–950 ramp

primary
#280D36
secondary
#45712D
accent
#E4437A
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050107
muted
#7A777A

Preview Lab

Preview with #280D36

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

Preview Lab → · Contrast checker → · Palette generator →

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