#280844#280844

#280844 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 23.2% C 0.104 H 303.0°. Best body text is #FFFFFF at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#280844
RGBrgb(40, 8, 68)
HSLhsl(272, 79%, 15%)
HSVhsv(272, 88%, 27%)
CMYKcmyk(41.2%, 88.2%, 0%, 73.3%)
CIE-LABlab(9.34, 28.94, -30.53)
CIE-LCHlch(9.34, 42.07, 313.47°)
OKLaboklab(23.16% 0.0567 -0.0871)
OKLCHoklch(23.16% 0.104 303)
XYZxyz(2.0050, 1.0421, 5.5632)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280844 #244408
analogous
#0A0844 #280844 #440842
triadic
#280844 #442808 #084428
tetradic
#280844 #440A08 #244408 #084244
square
#280844 #440A08 #244408 #084244
split-complementary
#280844 #424408 #08440A
monochromatic
#10031B #10031B #280844 #480E7B #6815B2

Accessibility & contrast

On white

17.38
#280844 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#280844 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280844
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280844#FFFFFF#000000##FFFFFF
##2808441.0017.381.2117.38
#FFFFFF17.381.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A46
Deuteranopia (green-blind)
#001A43
Tritanopia (blue-blind)
#221826
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #280844;
/* rgb */ color: rgb(40, 8, 68);
/* oklch */ color: oklch(23.2% 0.104 303.0);
Tailwind
colors: {
  custom: {
    50: '#664c78',
    500: '#280844',
    950: '#000000',
  },
}
SCSS
$custom: #280844;
$custom-light: #664c78;
$custom-dark: #000000;
JSON
{
  "hex": "#280844",
  "rgb": {
    "r": 40,
    "g": 8,
    "b": 68
  },
  "hsl": {
    "h": 272,
    "s": 78.947,
    "l": 14.902
  },
  "oklch": {
    "l": 0.23161,
    "c": 0.10392,
    "h": 303
  },
  "luminance": 0.01042
}

Semantic roles & 50–950 ramp

primary
#280844
secondary
#518226
accent
#F5328D
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #280844

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

Preview Lab → · Contrast checker → · Palette generator →

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