#28053A#28053A

#28053A is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.8% C 0.097 H 310.8°. Best body text is #FFFFFF at 17.90:1 contrast (WCAG AA passes).

Color values

HEX#28053A
RGBrgb(40, 5, 58)
HSLhsl(280, 84%, 12%)
HSVhsv(280, 91%, 23%)
CMYKcmyk(31%, 91.4%, 0%, 77.3%)
CIE-LABlab(7.82, 27.93, -25.87)
CIE-LCHlch(7.82, 38.06, 317.19°)
OKLaboklab(21.8% 0.0634 -0.0734)
OKLCHoklch(21.8% 0.097 310.8)
XYZxyz(1.6929, 0.8652, 4.0800)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28053A #173A05
analogous
#0E053A #28053A #3A0531
triadic
#28053A #3A2805 #053A28
tetradic
#28053A #3A0E05 #173A05 #05313A
square
#28053A #3A0E05 #173A05 #05313A
split-complementary
#28053A #313A05 #053A0E
monochromatic
#13021C #13021C #28053A #4F0A72 #760FAB

Accessibility & contrast

On white

17.90
#28053A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#28053A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28053A
17.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28053A#FFFFFF#000000##FFFFFF
##28053A1.0017.901.1717.90
#FFFFFF17.901.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163B
Deuteranopia (green-blind)
#001839
Tritanopia (blue-blind)
#26121F
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #28053a;
/* rgb */ color: rgb(40, 5, 58);
/* oklch */ color: oklch(21.8% 0.097 310.8);
Tailwind
colors: {
  custom: {
    50: '#654971',
    500: '#28053a',
    950: '#000000',
  },
}
SCSS
$custom: #28053a;
$custom-light: #654971;
$custom-dark: #000000;
JSON
{
  "hex": "#28053a",
  "rgb": {
    "r": 40,
    "g": 5,
    "b": 58
  },
  "hsl": {
    "h": 279.623,
    "s": 84.127,
    "l": 12.353
  },
  "oklch": {
    "l": 0.21798,
    "c": 0.09697,
    "h": 310.8
  },
  "luminance": 0.00865
}

Semantic roles & 50–950 ramp

primary
#28053A
secondary
#3F7B20
accent
#FA2D73
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #28053A

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

Preview Lab → · Contrast checker → · Palette generator →

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