#28092E#28092E

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

Color values

HEX#28092E
RGBrgb(40, 9, 46)
HSLhsl(290, 67%, 11%)
HSVhsv(290, 80%, 18%)
CMYKcmyk(13%, 80.4%, 0%, 82%)
CIE-LABlab(7.62, 22.64, -17.38)
CIE-LCHlch(7.62, 28.54, 322.49°)
OKLaboklab(21.34% 0.0595 -0.0486)
OKLCHoklch(21.34% 0.077 320.8)
XYZxyz(1.4658, 0.8438, 2.6699)
Luminance0.0084 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28092E #0F2E09
analogous
#15092E #28092E #2E0921
triadic
#28092E #2E2809 #092E28
tetradic
#28092E #2E1509 #0F2E09 #09212E
square
#28092E #2E1509 #0F2E09 #09212E
split-complementary
#28092E #212E09 #092E15
monochromatic
#16051A #16051A #28092E #551361 #811D94

Accessibility & contrast

On white

17.97
#28092E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28092E
17.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28092E#FFFFFF#000000##FFFFFF
##28092E1.0017.971.1717.97
#FFFFFF17.971.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02152F
Deuteranopia (green-blind)
#0D182D
Tritanopia (blue-blind)
#280F1A
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #28092e;
/* rgb */ color: rgb(40, 9, 46);
/* oklch */ color: oklch(21.3% 0.077 320.8);
Tailwind
colors: {
  custom: {
    50: '#634b67',
    500: '#28092e',
    950: '#000000',
  },
}
SCSS
$custom: #28092e;
$custom-light: #634b67;
$custom-dark: #000000;
JSON
{
  "hex": "#28092e",
  "rgb": {
    "r": 40,
    "g": 9,
    "b": 46
  },
  "hsl": {
    "h": 290.27,
    "s": 67.273,
    "l": 10.784
  },
  "oklch": {
    "l": 0.2134,
    "c": 0.07677,
    "h": 320.8
  },
  "luminance": 0.00844
}

Semantic roles & 50–950 ramp

primary
#28092E
secondary
#326C27
accent
#EA3E5A
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050106
muted
#7A777A

Preview Lab

Preview with #28092E

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

Preview Lab → · Contrast checker → · Palette generator →

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