#28053B#28053B

#28053B is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.9% C 0.098 H 310.0°. Best body text is #FFFFFF at 17.87:1 contrast (WCAG AA passes).

Color values

HEX#28053B
RGBrgb(40, 5, 59)
HSLhsl(279, 84%, 13%)
HSVhsv(279, 92%, 23%)
CMYKcmyk(32.2%, 91.5%, 0%, 76.9%)
CIE-LABlab(7.91, 28.18, -26.44)
CIE-LCHlch(7.91, 38.64, 316.83°)
OKLaboklab(21.89% 0.0631 -0.0751)
OKLCHoklch(21.89% 0.098 310)
XYZxyz(1.7186, 0.8755, 4.2153)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28053B #183B05
analogous
#0D053B #28053B #3B0533
triadic
#28053B #3B2805 #053B28
tetradic
#28053B #3B0D05 #183B05 #05333B
square
#28053B #3B0D05 #183B05 #05333B
split-complementary
#28053B #333B05 #053B0D
monochromatic
#13021C #13021C #28053B #4E0A73 #750FAC

Accessibility & contrast

On white

17.87
#28053B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#28053B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28053B
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28053B#FFFFFF#000000##FFFFFF
##28053B1.0017.871.1817.87
#FFFFFF17.871.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163C
Deuteranopia (green-blind)
#00183A
Tritanopia (blue-blind)
#251220
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #28053b;
/* rgb */ color: rgb(40, 5, 59);
/* oklch */ color: oklch(21.9% 0.098 310.0);
Tailwind
colors: {
  custom: {
    50: '#654971',
    500: '#28053b',
    950: '#000000',
  },
}
SCSS
$custom: #28053b;
$custom-light: #654971;
$custom-dark: #000000;
JSON
{
  "hex": "#28053b",
  "rgb": {
    "r": 40,
    "g": 5,
    "b": 59
  },
  "hsl": {
    "h": 278.889,
    "s": 84.375,
    "l": 12.549
  },
  "oklch": {
    "l": 0.21893,
    "c": 0.09805,
    "h": 310
  },
  "luminance": 0.00875
}

Semantic roles & 50–950 ramp

primary
#28053B
secondary
#407C20
accent
#FB2D75
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060108
muted
#7A777B

Preview Lab

Preview with #28053B

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

Preview Lab → · Contrast checker → · Palette generator →

#28053B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva