#28153D#28153D

#28153D is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.5% C 0.075 H 303.2°. Best body text is #FFFFFF at 16.60:1 contrast (WCAG AA passes).

Color values

HEX#28153D
RGBrgb(40, 21, 61)
HSLhsl(269, 49%, 16%)
HSVhsv(269, 66%, 24%)
CMYKcmyk(34.4%, 65.6%, 0%, 76.1%)
CIE-LABlab(11.45, 19.40, -22.16)
CIE-LCHlch(11.45, 29.46, 311.21°)
OKLaboklab(24.48% 0.041 -0.0626)
OKLCHoklch(24.48% 0.075 303.2)
XYZxyz(1.9854, 1.3244, 4.5650)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28153D #2A3D15
analogous
#15163D #28153D #3C153D
triadic
#28153D #3D2815 #153D28
tetradic
#28153D #3D1516 #2A3D15 #153D3C
square
#28153D #3D1516 #2A3D15 #153D3C
split-complementary
#28153D #3D3C15 #163D15
monochromatic
#0F0817 #0F0817 #28153D #46256B #643498

Accessibility & contrast

On white

16.60
#28153D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28153D
16.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28153D#FFFFFF#000000##FFFFFF
##28153D1.0016.601.2616.60
#FFFFFF16.601.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051E3E
Deuteranopia (green-blind)
#0C1E3C
Tritanopia (blue-blind)
#241D26
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #28153d;
/* rgb */ color: rgb(40, 21, 61);
/* oklch */ color: oklch(24.5% 0.075 303.2);
Tailwind
colors: {
  custom: {
    50: '#645373',
    500: '#28153d',
    950: '#000000',
  },
}
SCSS
$custom: #28153d;
$custom-light: #645373;
$custom-dark: #000000;
JSON
{
  "hex": "#28153d",
  "rgb": {
    "r": 40,
    "g": 21,
    "b": 61
  },
  "hsl": {
    "h": 268.5,
    "s": 48.78,
    "l": 16.078
  },
  "oklch": {
    "l": 0.24481,
    "c": 0.07483,
    "h": 303.2
  },
  "luminance": 0.01324
}

Semantic roles & 50–950 ramp

primary
#28153D
secondary
#587539
accent
#D84F97
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050208
muted
#7A787B

Preview Lab

Preview with #28153D

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

Preview Lab → · Contrast checker → · Palette generator →

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