#28053C#28053C

#28053C is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.0% C 0.099 H 309.3°. Best body text is #FFFFFF at 17.84:1 contrast (WCAG AA passes).

Color values

HEX#28053C
RGBrgb(40, 5, 60)
HSLhsl(278, 85%, 13%)
HSVhsv(278, 92%, 24%)
CMYKcmyk(33.3%, 91.7%, 0%, 76.5%)
CIE-LABlab(8.00, 28.44, -27.00)
CIE-LCHlch(8.00, 39.22, 316.48°)
OKLaboklab(21.99% 0.0628 -0.0767)
OKLCHoklch(21.99% 0.099 309.3)
XYZxyz(1.7448, 0.8859, 4.3532)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28053C #193C05
analogous
#0D053C #28053C #3C0534
triadic
#28053C #3C2805 #053C28
tetradic
#28053C #3C0D05 #193C05 #05343C
square
#28053C #3C0D05 #193C05 #05343C
split-complementary
#28053C #343C05 #053C0D
monochromatic
#13021C #13021C #28053C #4E0A74 #730EAD

Accessibility & contrast

On white

17.84
#28053C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28053C
17.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28053C#FFFFFF#000000##FFFFFF
##28053C1.0017.841.1817.84
#FFFFFF17.841.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163D
Deuteranopia (green-blind)
#00183B
Tritanopia (blue-blind)
#251321
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #28053c;
/* rgb */ color: rgb(40, 5, 60);
/* oklch */ color: oklch(22.0% 0.099 309.3);
Tailwind
colors: {
  custom: {
    50: '#654972',
    500: '#28053c',
    950: '#000000',
  },
}
SCSS
$custom: #28053c;
$custom-light: #654972;
$custom-dark: #000000;
JSON
{
  "hex": "#28053c",
  "rgb": {
    "r": 40,
    "g": 5,
    "b": 60
  },
  "hsl": {
    "h": 278.182,
    "s": 84.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.21988,
    "c": 0.09914,
    "h": 309.3
  },
  "luminance": 0.00886
}

Semantic roles & 50–950 ramp

primary
#28053C
secondary
#427D20
accent
#FB2D78
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060108
muted
#7A777B

Preview Lab

Preview with #28053C

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

Preview Lab → · Contrast checker → · Palette generator →

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