#280337#280337

#280337 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.2% C 0.097 H 313.7°. Best body text is #FFFFFF at 18.13:1 contrast (WCAG AA passes).

Color values

HEX#280337
RGBrgb(40, 3, 55)
HSLhsl(283, 90%, 11%)
HSVhsv(283, 95%, 22%)
CMYKcmyk(27.3%, 94.5%, 0%, 78.4%)
CIE-LABlab(7.16, 28.26, -24.76)
CIE-LCHlch(7.16, 37.57, 318.78°)
OKLaboklab(21.23% 0.0672 -0.0703)
OKLCHoklch(21.23% 0.097 313.7)
XYZxyz(1.5971, 0.7921, 3.6825)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280337 #123703
analogous
#0E0337 #280337 #37032C
triadic
#280337 #372803 #033728
tetradic
#280337 #370E03 #123703 #032C37
square
#280337 #370E03 #123703 #032C37
split-complementary
#280337 #2C3703 #03370E
monochromatic
#15021D #15021D #280337 #520671 #7C09AB

Accessibility & contrast

On white

18.13
#280337 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280337
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280337#FFFFFF#000000##FFFFFF
##2803371.0018.131.1618.13
#FFFFFF18.131.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001438
Deuteranopia (green-blind)
#001736
Tritanopia (blue-blind)
#260F1D
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #280337;
/* rgb */ color: rgb(40, 3, 55);
/* oklch */ color: oklch(21.2% 0.097 313.7);
Tailwind
colors: {
  custom: {
    50: '#65486e',
    500: '#280337',
    950: '#000000',
  },
}
SCSS
$custom: #280337;
$custom-light: #65486e;
$custom-dark: #000000;
JSON
{
  "hex": "#280337",
  "rgb": {
    "r": 40,
    "g": 3,
    "b": 55
  },
  "hsl": {
    "h": 282.692,
    "s": 89.655,
    "l": 11.373
  },
  "oklch": {
    "l": 0.21229,
    "c": 0.09718,
    "h": 313.7
  },
  "luminance": 0.00792
}

Semantic roles & 50–950 ramp

primary
#280337
secondary
#377A1C
accent
#FF2967
background
#F6F4F6
surface
#EBE6EC
border
#C6C2C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #280337

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

Preview Lab → · Contrast checker → · Palette generator →

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