#280839#280839

#280839 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.1% C 0.091 H 310.9°. Best body text is #FFFFFF at 17.74:1 contrast (WCAG AA passes).

Color values

HEX#280839
RGBrgb(40, 8, 57)
HSLhsl(279, 75%, 13%)
HSVhsv(279, 86%, 22%)
CMYKcmyk(29.8%, 86%, 0%, 77.6%)
CIE-LABlab(8.31, 25.99, -24.34)
CIE-LCHlch(8.31, 35.61, 316.88°)
OKLaboklab(22.12% 0.0596 -0.0689)
OKLCHoklch(22.12% 0.091 310.9)
XYZxyz(1.7003, 0.9202, 3.9582)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280839 #193908
analogous
#100839 #280839 #390831
triadic
#280839 #392808 #083928
tetradic
#280839 #391008 #193908 #083139
square
#280839 #391008 #193908 #083139
split-complementary
#280839 #313908 #083910
monochromatic
#13041B #13041B #280839 #4E106F #7317A4

Accessibility & contrast

On white

17.74
#280839 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#280839 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280839
17.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280839#FFFFFF#000000##FFFFFF
##2808391.0017.741.1817.74
#FFFFFF17.741.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173A
Deuteranopia (green-blind)
#021938
Tritanopia (blue-blind)
#261320
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #280839;
/* rgb */ color: rgb(40, 8, 57);
/* oklch */ color: oklch(22.1% 0.091 310.9);
Tailwind
colors: {
  custom: {
    50: '#644b70',
    500: '#280839',
    950: '#000000',
  },
}
SCSS
$custom: #280839;
$custom-light: #644b70;
$custom-dark: #000000;
JSON
{
  "hex": "#280839",
  "rgb": {
    "r": 40,
    "g": 8,
    "b": 57
  },
  "hsl": {
    "h": 279.184,
    "s": 75.385,
    "l": 12.745
  },
  "oklch": {
    "l": 0.22117,
    "c": 0.09113,
    "h": 310.9
  },
  "luminance": 0.0092
}

Semantic roles & 50–950 ramp

primary
#280839
secondary
#427825
accent
#F23677
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #280839

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

Preview Lab → · Contrast checker → · Palette generator →

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