#28092F#28092F

#28092F is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.4% C 0.078 H 319.7°. Best body text is #FFFFFF at 17.94:1 contrast (WCAG AA passes).

Color values

HEX#28092F
RGBrgb(40, 9, 47)
HSLhsl(289, 68%, 11%)
HSVhsv(289, 81%, 18%)
CMYKcmyk(14.9%, 80.9%, 0%, 81.6%)
CIE-LABlab(7.69, 22.89, -18.00)
CIE-LCHlch(7.69, 29.12, 321.81°)
OKLaboklab(21.42% 0.0594 -0.0504)
OKLCHoklch(21.42% 0.078 319.7)
XYZxyz(1.4858, 0.8518, 2.7749)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28092F #102F09
analogous
#15092F #28092F #2F0923
triadic
#28092F #2F2809 #092F28
tetradic
#28092F #2F1509 #102F09 #09232F
square
#28092F #2F1509 #102F09 #09232F
split-complementary
#28092F #232F09 #092F15
monochromatic
#16051A #16051A #28092F #541362 #7F1D96

Accessibility & contrast

On white

17.94
#28092F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28092F
17.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28092F#FFFFFF#000000##FFFFFF
##28092F1.0017.941.1717.94
#FFFFFF17.941.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011530
Deuteranopia (green-blind)
#0C182E
Tritanopia (blue-blind)
#28101A
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #28092f;
/* rgb */ color: rgb(40, 9, 47);
/* oklch */ color: oklch(21.4% 0.078 319.7);
Tailwind
colors: {
  custom: {
    50: '#644b68',
    500: '#28092f',
    950: '#000000',
  },
}
SCSS
$custom: #28092f;
$custom-light: #644b68;
$custom-dark: #000000;
JSON
{
  "hex": "#28092f",
  "rgb": {
    "r": 40,
    "g": 9,
    "b": 47
  },
  "hsl": {
    "h": 288.947,
    "s": 67.857,
    "l": 10.98
  },
  "oklch": {
    "l": 0.21417,
    "c": 0.07792,
    "h": 319.7
  },
  "luminance": 0.00852
}

Semantic roles & 50–950 ramp

primary
#28092F
secondary
#346D27
accent
#EB3D5D
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050106
muted
#7A777A

Preview Lab

Preview with #28092F

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

Preview Lab → · Contrast checker → · Palette generator →

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