#28033A#28033A

#28033A is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.5% C 0.100 H 311.3°. Best body text is #FFFFFF at 18.04:1 contrast (WCAG AA passes).

Color values

HEX#28033A
RGBrgb(40, 3, 58)
HSLhsl(280, 90%, 12%)
HSVhsv(280, 95%, 23%)
CMYKcmyk(31%, 94.8%, 0%, 77.3%)
CIE-LABlab(7.42, 29.05, -26.50)
CIE-LCHlch(7.42, 39.33, 317.63°)
OKLaboklab(21.52% 0.0662 -0.0753)
OKLCHoklch(21.52% 0.1 311.3)
XYZxyz(1.6712, 0.8218, 4.0727)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28033A #153A03
analogous
#0D033A #28033A #3A0331
triadic
#28033A #3A2803 #033A28
tetradic
#28033A #3A0D03 #153A03 #03313A
square
#28033A #3A0D03 #153A03 #03313A
split-complementary
#28033A #313A03 #033A0D
monochromatic
#14021D #14021D #28033A #500674 #7809AE

Accessibility & contrast

On white

18.04
#28033A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#28033A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28033A
18.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28033A#FFFFFF#000000##FFFFFF
##28033A1.0018.041.1618.04
#FFFFFF18.041.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153B
Deuteranopia (green-blind)
#001739
Tritanopia (blue-blind)
#26111F
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #28033a;
/* rgb */ color: rgb(40, 3, 58);
/* oklch */ color: oklch(21.5% 0.100 311.3);
Tailwind
colors: {
  custom: {
    50: '#654871',
    500: '#28033a',
    950: '#000000',
  },
}
SCSS
$custom: #28033a;
$custom-light: #654871;
$custom-dark: #000000;
JSON
{
  "hex": "#28033a",
  "rgb": {
    "r": 40,
    "g": 3,
    "b": 58
  },
  "hsl": {
    "h": 280.364,
    "s": 90.164,
    "l": 11.961
  },
  "oklch": {
    "l": 0.21516,
    "c": 0.10025,
    "h": 311.3
  },
  "luminance": 0.00822
}

Semantic roles & 50–950 ramp

primary
#28033A
secondary
#3C7D1C
accent
#FF296F
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #28033A

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

Preview Lab → · Contrast checker → · Palette generator →

#28033A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva