#28062D#28062D

#28062D is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 20.8% C 0.081 H 322.3°. Best body text is #FFFFFF at 18.19:1 contrast (WCAG AA passes).

Color values

HEX#28062D
RGBrgb(40, 6, 45)
HSLhsl(292, 76%, 10%)
HSVhsv(292, 87%, 18%)
CMYKcmyk(11.1%, 86.7%, 0%, 82.4%)
CIE-LABlab(6.96, 23.99, -17.68)
CIE-LCHlch(6.96, 29.80, 323.61°)
OKLaboklab(20.81% 0.0643 -0.0496)
OKLCHoklch(20.81% 0.081 322.3)
XYZxyz(1.4138, 0.7709, 2.5564)
Luminance0.0077 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28062D #0B2D06
analogous
#15062D #28062D #2D061E
triadic
#28062D #2D2806 #062D28
tetradic
#28062D #2D1506 #0B2D06 #061E2D
square
#28062D #2D1506 #0B2D06 #061E2D
split-complementary
#28062D #1E2D06 #062D15
monochromatic
#18041B #18041B #28062D #580D63 #881499

Accessibility & contrast

On white

18.19
#28062D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#28062D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28062D
18.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28062D#FFFFFF#000000##FFFFFF
##28062D1.0018.191.1518.19
#FFFFFF18.191.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00132E
Deuteranopia (green-blind)
#0B172C
Tritanopia (blue-blind)
#290D18
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #28062d;
/* rgb */ color: rgb(40, 6, 45);
/* oklch */ color: oklch(20.8% 0.081 322.3);
Tailwind
colors: {
  custom: {
    50: '#644966',
    500: '#28062d',
    950: '#000000',
  },
}
SCSS
$custom: #28062d;
$custom-light: #644966;
$custom-dark: #000000;
JSON
{
  "hex": "#28062d",
  "rgb": {
    "r": 40,
    "g": 6,
    "b": 45
  },
  "hsl": {
    "h": 292.308,
    "s": 76.471,
    "l": 10
  },
  "oklch": {
    "l": 0.20813,
    "c": 0.08118,
    "h": 322.3
  },
  "luminance": 0.00771
}

Semantic roles & 50–950 ramp

primary
#28062D
secondary
#2B6E21
accent
#F3354D
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050106
muted
#7A777A

Preview Lab

Preview with #28062D

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

Preview Lab → · Contrast checker → · Palette generator →

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