#28032F#28032F

#28032F is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.5% C 0.089 H 320.8°. Best body text is #FFFFFF at 18.35:1 contrast (WCAG AA passes).

Color values

HEX#28032F
RGBrgb(40, 3, 47)
HSLhsl(290, 88%, 10%)
HSVhsv(290, 94%, 18%)
CMYKcmyk(14.9%, 93.6%, 0%, 81.6%)
CIE-LABlab(6.52, 26.11, -19.88)
CIE-LCHlch(6.52, 32.81, 322.71°)
OKLaboklab(20.51% 0.0691 -0.0563)
OKLCHoklch(20.51% 0.089 320.8)
XYZxyz(1.4207, 0.7216, 2.7532)
Luminance0.0072 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28032F #0A2F03
analogous
#12032F #28032F #2F0320
triadic
#28032F #2F2803 #032F28
tetradic
#28032F #2F1203 #0A2F03 #03202F
square
#28032F #2F1203 #0A2F03 #03202F
split-complementary
#28032F #202F03 #032F12
monochromatic
#18021D #18021D #28032F #590769 #8A0AA2

Accessibility & contrast

On white

18.35
#28032F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#28032F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28032F
18.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28032F#FFFFFF#000000##FFFFFF
##28032F1.0018.351.1418.35
#FFFFFF18.351.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001230
Deuteranopia (green-blind)
#07162E
Tritanopia (blue-blind)
#280B18
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #28032f;
/* rgb */ color: rgb(40, 3, 47);
/* oklch */ color: oklch(20.5% 0.089 320.8);
Tailwind
colors: {
  custom: {
    50: '#644868',
    500: '#28032f',
    950: '#000000',
  },
}
SCSS
$custom: #28032f;
$custom-light: #644868;
$custom-dark: #000000;
JSON
{
  "hex": "#28032f",
  "rgb": {
    "r": 40,
    "g": 3,
    "b": 47
  },
  "hsl": {
    "h": 290.455,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.2051,
    "c": 0.08913,
    "h": 320.8
  },
  "luminance": 0.00721
}

Semantic roles & 50–950 ramp

primary
#28032F
secondary
#29731B
accent
#FE2A4B
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#060006
muted
#7A777A

Preview Lab

Preview with #28032F

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

Preview Lab → · Contrast checker → · Palette generator →

#28032F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva