#28092C#28092C

#28092C is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.2% C 0.074 H 323.0°. Best body text is #FFFFFF at 18.02:1 contrast (WCAG AA passes).

Color values

HEX#28092C
RGBrgb(40, 9, 44)
HSLhsl(293, 66%, 10%)
HSVhsv(293, 80%, 17%)
CMYKcmyk(9.1%, 79.5%, 0%, 82.7%)
CIE-LABlab(7.48, 22.14, -16.11)
CIE-LCHlch(7.48, 27.38, 323.96°)
OKLaboklab(21.19% 0.0595 -0.0449)
OKLCHoklch(21.19% 0.075 323)
XYZxyz(1.4273, 0.8284, 2.4671)
Luminance0.0083 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28092C #0D2C09
analogous
#16092C #28092C #2C091E
triadic
#28092C #2C2809 #092C28
tetradic
#28092C #2C1609 #0D2C09 #091E2C
square
#28092C #2C1609 #0D2C09 #091E2C
split-complementary
#28092C #1E2C09 #092C16
monochromatic
#170519 #170519 #28092C #56135F #841E92

Accessibility & contrast

On white

18.02
#28092C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28092C
18.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28092C#FFFFFF#000000##FFFFFF
##28092C1.0018.021.1718.02
#FFFFFF18.021.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03142D
Deuteranopia (green-blind)
#0E182B
Tritanopia (blue-blind)
#290F19
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #28092c;
/* rgb */ color: rgb(40, 9, 44);
/* oklch */ color: oklch(21.2% 0.074 323.0);
Tailwind
colors: {
  custom: {
    50: '#634b65',
    500: '#28092c',
    950: '#000000',
  },
}
SCSS
$custom: #28092c;
$custom-light: #634b65;
$custom-dark: #000000;
JSON
{
  "hex": "#28092c",
  "rgb": {
    "r": 40,
    "g": 9,
    "b": 44
  },
  "hsl": {
    "h": 293.143,
    "s": 66.038,
    "l": 10.392
  },
  "oklch": {
    "l": 0.21189,
    "c": 0.0745,
    "h": 323
  },
  "luminance": 0.00828
}

Semantic roles & 50–950 ramp

primary
#28092C
secondary
#2F6A27
accent
#E93F52
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050105
muted
#7A777A

Preview Lab

Preview with #28092C

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

Preview Lab → · Contrast checker → · Palette generator →

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