#28092D#28092D

#28092D is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.3% C 0.076 H 321.8°. Best body text is #FFFFFF at 17.99:1 contrast (WCAG AA passes).

Color values

HEX#28092D
RGBrgb(40, 9, 45)
HSLhsl(292, 67%, 11%)
HSVhsv(292, 80%, 18%)
CMYKcmyk(11.1%, 80%, 0%, 82.4%)
CIE-LABlab(7.55, 22.39, -16.74)
CIE-LCHlch(7.55, 27.96, 323.21°)
OKLaboklab(21.26% 0.0595 -0.0467)
OKLCHoklch(21.26% 0.076 321.8)
XYZxyz(1.4464, 0.8360, 2.5673)
Luminance0.0084 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28092D #0E2D09
analogous
#16092D #28092D #2D0920
triadic
#28092D #2D2809 #092D28
tetradic
#28092D #2D1609 #0E2D09 #09202D
square
#28092D #2D1609 #0E2D09 #09202D
split-complementary
#28092D #202D09 #092D16
monochromatic
#17051A #17051A #28092D #551360 #831D93

Accessibility & contrast

On white

17.99
#28092D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#28092D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28092D
17.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28092D#FFFFFF#000000##FFFFFF
##28092D1.0017.991.1717.99
#FFFFFF17.991.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02142E
Deuteranopia (green-blind)
#0D182C
Tritanopia (blue-blind)
#290F19
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #28092d;
/* rgb */ color: rgb(40, 9, 45);
/* oklch */ color: oklch(21.3% 0.076 321.8);
Tailwind
colors: {
  custom: {
    50: '#634b66',
    500: '#28092d',
    950: '#000000',
  },
}
SCSS
$custom: #28092d;
$custom-light: #634b66;
$custom-dark: #000000;
JSON
{
  "hex": "#28092d",
  "rgb": {
    "r": 40,
    "g": 9,
    "b": 45
  },
  "hsl": {
    "h": 291.667,
    "s": 66.667,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21264,
    "c": 0.07563,
    "h": 321.8
  },
  "luminance": 0.00836
}

Semantic roles & 50–950 ramp

primary
#28092D
secondary
#306B27
accent
#EA3E56
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050106
muted
#7A777A

Preview Lab

Preview with #28092D

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

Preview Lab → · Contrast checker → · Palette generator →

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