#28092A#28092A

#28092A is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.0% C 0.072 H 325.3°. Best body text is #FFFFFF at 18.06:1 contrast (WCAG AA passes).

Color values

HEX#28092A
RGBrgb(40, 9, 42)
HSLhsl(296, 65%, 10%)
HSVhsv(296, 79%, 16%)
CMYKcmyk(4.8%, 78.6%, 0%, 83.5%)
CIE-LABlab(7.35, 21.64, -14.82)
CIE-LCHlch(7.35, 26.23, 325.60°)
OKLaboklab(21.04% 0.0594 -0.0412)
OKLCHoklch(21.04% 0.072 325.3)
XYZxyz(1.3906, 0.8137, 2.2739)
Luminance0.0081 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28092A #0B2A09
analogous
#18092A #28092A #2A091B
triadic
#28092A #2A2809 #092A28
tetradic
#28092A #2A1809 #0B2A09 #091B2A
square
#28092A #2A1809 #0B2A09 #091B2A
split-complementary
#28092A #1B2A09 #092A18
monochromatic
#180519 #180519 #28092A #58145C #881F8F

Accessibility & contrast

On white

18.06
#28092A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#28092A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28092A
18.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28092A#FFFFFF#000000##FFFFFF
##28092A1.0018.061.1618.06
#FFFFFF18.061.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04142B
Deuteranopia (green-blind)
#0F1829
Tritanopia (blue-blind)
#290E18
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #28092a;
/* rgb */ color: rgb(40, 9, 42);
/* oklch */ color: oklch(21.0% 0.072 325.3);
Tailwind
colors: {
  custom: {
    50: '#634b63',
    500: '#28092a',
    950: '#000000',
  },
}
SCSS
$custom: #28092a;
$custom-light: #634b63;
$custom-dark: #000000;
JSON
{
  "hex": "#28092a",
  "rgb": {
    "r": 40,
    "g": 9,
    "b": 42
  },
  "hsl": {
    "h": 296.364,
    "s": 64.706,
    "l": 10
  },
  "oklch": {
    "l": 0.21043,
    "c": 0.07226,
    "h": 325.3
  },
  "luminance": 0.00814
}

Semantic roles & 50–950 ramp

primary
#28092A
secondary
#2B6827
accent
#E8404A
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#050105
muted
#7A7779

Preview Lab

Preview with #28092A

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

Preview Lab → · Contrast checker → · Palette generator →

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