#280336#280336

#280336 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.1% C 0.096 H 314.5°. Best body text is #FFFFFF at 18.16:1 contrast (WCAG AA passes).

Color values

HEX#280336
RGBrgb(40, 3, 54)
HSLhsl(284, 89%, 11%)
HSVhsv(284, 94%, 21%)
CMYKcmyk(25.9%, 94.4%, 0%, 78.8%)
CIE-LABlab(7.07, 27.99, -24.16)
CIE-LCHlch(7.07, 36.98, 319.20°)
OKLaboklab(21.14% 0.0675 -0.0685)
OKLCHoklch(21.14% 0.096 314.5)
XYZxyz(1.5734, 0.7826, 3.5575)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280336 #113603
analogous
#0E0336 #280336 #36032A
triadic
#280336 #362803 #033628
tetradic
#280336 #360E03 #113603 #032A36
square
#280336 #360E03 #113603 #032A36
split-complementary
#280336 #2A3603 #03360E
monochromatic
#15021D #15021D #280336 #530670 #7E09AA

Accessibility & contrast

On white

18.16
#280336 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#280336 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280336
18.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280336#FFFFFF#000000##FFFFFF
##2803361.0018.161.1618.16
#FFFFFF18.161.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001437
Deuteranopia (green-blind)
#011735
Tritanopia (blue-blind)
#270F1C
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #280336;
/* rgb */ color: rgb(40, 3, 54);
/* oklch */ color: oklch(21.1% 0.096 314.5);
Tailwind
colors: {
  custom: {
    50: '#65486d',
    500: '#280336',
    950: '#000000',
  },
}
SCSS
$custom: #280336;
$custom-light: #65486d;
$custom-dark: #000000;
JSON
{
  "hex": "#280336",
  "rgb": {
    "r": 40,
    "g": 3,
    "b": 54
  },
  "hsl": {
    "h": 283.529,
    "s": 89.474,
    "l": 11.176
  },
  "oklch": {
    "l": 0.21135,
    "c": 0.09616,
    "h": 314.5
  },
  "luminance": 0.00783
}

Semantic roles & 50–950 ramp

primary
#280336
secondary
#35791C
accent
#FF2964
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #280336

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

Preview Lab → · Contrast checker → · Palette generator →

#280336 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva