#280339#280339

#280339 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.4% C 0.099 H 312.1°. Best body text is #FFFFFF at 18.07:1 contrast (WCAG AA passes).

Color values

HEX#280339
RGBrgb(40, 3, 57)
HSLhsl(281, 90%, 12%)
HSVhsv(281, 95%, 22%)
CMYKcmyk(29.8%, 94.7%, 0%, 77.6%)
CIE-LABlab(7.33, 28.79, -25.92)
CIE-LCHlch(7.33, 38.74, 318.00°)
OKLaboklab(21.42% 0.0665 -0.0736)
OKLCHoklch(21.42% 0.099 312.1)
XYZxyz(1.6460, 0.8117, 3.9401)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280339 #143903
analogous
#0D0339 #280339 #39032F
triadic
#280339 #392803 #033928
tetradic
#280339 #390D03 #143903 #032F39
square
#280339 #390D03 #143903 #032F39
split-complementary
#280339 #2F3903 #03390D
monochromatic
#14021D #14021D #280339 #510673 #7A09AD

Accessibility & contrast

On white

18.07
#280339 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280339
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280339#FFFFFF#000000##FFFFFF
##2803391.0018.071.1618.07
#FFFFFF18.071.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00143A
Deuteranopia (green-blind)
#001738
Tritanopia (blue-blind)
#26101E
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #280339;
/* rgb */ color: rgb(40, 3, 57);
/* oklch */ color: oklch(21.4% 0.099 312.1);
Tailwind
colors: {
  custom: {
    50: '#654870',
    500: '#280339',
    950: '#000000',
  },
}
SCSS
$custom: #280339;
$custom-light: #654870;
$custom-dark: #000000;
JSON
{
  "hex": "#280339",
  "rgb": {
    "r": 40,
    "g": 3,
    "b": 57
  },
  "hsl": {
    "h": 281.111,
    "s": 90,
    "l": 11.765
  },
  "oklch": {
    "l": 0.21419,
    "c": 0.09922,
    "h": 312.1
  },
  "luminance": 0.00812
}

Semantic roles & 50–950 ramp

primary
#280339
secondary
#3A7C1C
accent
#FF296C
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #280339

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

Preview Lab → · Contrast checker → · Palette generator →

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