#28053D#28053D

#28053D is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.1% C 0.100 H 308.6°. Best body text is #FFFFFF at 17.81:1 contrast (WCAG AA passes).

Color values

HEX#28053D
RGBrgb(40, 5, 61)
HSLhsl(278, 85%, 13%)
HSVhsv(278, 92%, 24%)
CMYKcmyk(34.4%, 91.8%, 0%, 76.1%)
CIE-LABlab(8.10, 28.69, -27.57)
CIE-LCHlch(8.10, 39.79, 316.15°)
OKLaboklab(22.09% 0.0625 -0.0784)
OKLCHoklch(22.09% 0.1 308.6)
XYZxyz(1.7715, 0.8966, 4.4937)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28053D #1A3D05
analogous
#0C053D #28053D #3D0536
triadic
#28053D #3D2805 #053D28
tetradic
#28053D #3D0C05 #1A3D05 #05363D
square
#28053D #3D0C05 #1A3D05 #05363D
split-complementary
#28053D #363D05 #053D0C
monochromatic
#13021C #13021C #28053D #4D0A76 #720EAE

Accessibility & contrast

On white

17.81
#28053D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28053D
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28053D#FFFFFF#000000##FFFFFF
##28053D1.0017.811.1817.81
#FFFFFF17.811.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28053d;
/* rgb */ color: rgb(40, 5, 61);
/* oklch */ color: oklch(22.1% 0.100 308.6);
Tailwind
colors: {
  custom: {
    50: '#654973',
    500: '#28053d',
    950: '#000000',
  },
}
SCSS
$custom: #28053d;
$custom-light: #654973;
$custom-dark: #000000;
JSON
{
  "hex": "#28053d",
  "rgb": {
    "r": 40,
    "g": 5,
    "b": 61
  },
  "hsl": {
    "h": 277.5,
    "s": 84.848,
    "l": 12.941
  },
  "oklch": {
    "l": 0.22085,
    "c": 0.10023,
    "h": 308.6
  },
  "luminance": 0.00897
}

Semantic roles & 50–950 ramp

primary
#28053D
secondary
#437E20
accent
#FB2D7A
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #28053D

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

Preview Lab → · Contrast checker → · Palette generator →

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