#28153C#28153C

#28153C is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.4% C 0.073 H 303.9°. Best body text is #FFFFFF at 16.63:1 contrast (WCAG AA passes).

Color values

HEX#28153C
RGBrgb(40, 21, 60)
HSLhsl(269, 48%, 16%)
HSVhsv(269, 65%, 24%)
CMYKcmyk(33.3%, 65%, 0%, 76.5%)
CIE-LABlab(11.37, 19.10, -21.57)
CIE-LCHlch(11.37, 28.81, 311.53°)
OKLaboklab(24.4% 0.041 -0.0609)
OKLCHoklch(24.4% 0.073 303.9)
XYZxyz(1.9587, 1.3137, 4.4245)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28153C #293C15
analogous
#15153C #28153C #3B153C
triadic
#28153C #3C2815 #153C28
tetradic
#28153C #3C1515 #293C15 #153C3B
square
#28153C #3C1515 #293C15 #153C3B
split-complementary
#28153C #3C3B15 #153C15
monochromatic
#0F0817 #0F0817 #28153C #462569 #643597

Accessibility & contrast

On white

16.63
#28153C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#28153C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28153C
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28153C#FFFFFF#000000##FFFFFF
##28153C1.0016.631.2616.63
#FFFFFF16.631.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061E3D
Deuteranopia (green-blind)
#0D1E3B
Tritanopia (blue-blind)
#241D26
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #28153c;
/* rgb */ color: rgb(40, 21, 60);
/* oklch */ color: oklch(24.4% 0.073 303.9);
Tailwind
colors: {
  custom: {
    50: '#645372',
    500: '#28153c',
    950: '#000000',
  },
}
SCSS
$custom: #28153c;
$custom-light: #645372;
$custom-dark: #000000;
JSON
{
  "hex": "#28153c",
  "rgb": {
    "r": 40,
    "g": 21,
    "b": 60
  },
  "hsl": {
    "h": 269.231,
    "s": 48.148,
    "l": 15.882
  },
  "oklch": {
    "l": 0.24403,
    "c": 0.07337,
    "h": 303.9
  },
  "luminance": 0.01314
}

Semantic roles & 50–950 ramp

primary
#28153C
secondary
#577439
accent
#D85096
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#050208
muted
#7A787B

Preview Lab

Preview with #28153C

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

Preview Lab → · Contrast checker → · Palette generator →

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