#2D0428#2D0428

#2D0428 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.1% C 0.083 H 333.6°. Best body text is #FFFFFF at 18.11:1 contrast (WCAG AA passes).

Color values

HEX#2D0428
RGBrgb(45, 4, 40)
HSLhsl(307, 84%, 10%)
HSVhsv(307, 91%, 18%)
CMYKcmyk(0%, 91.1%, 11.1%, 82.4%)
CIE-LABlab(7.21, 25.62, -13.46)
CIE-LCHlch(7.21, 28.94, 332.27°)
OKLaboklab(21.09% 0.0746 -0.0371)
OKLCHoklch(21.09% 0.083 333.6)
XYZxyz(1.5086, 0.7981, 2.0817)
Luminance0.0080 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0428 #042D09
analogous
#1E042D #2D0428 #2D0414
triadic
#2D0428 #282D04 #04282D
tetradic
#2D0428 #2D1E04 #042D09 #04142D
square
#2D0428 #2D1E04 #042D09 #04142D
split-complementary
#2D0428 #142D04 #042D1E
monochromatic
#1C0219 #1C0219 #2D0428 #65095A #9D0E8C

Accessibility & contrast

On white

18.11
#2D0428 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#2D0428 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0428
18.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0428#FFFFFF#000000##FFFFFF
##2D04281.0018.111.1618.11
#FFFFFF18.111.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031229
Deuteranopia (green-blind)
#121827
Tritanopia (blue-blind)
#300715
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2d0428;
/* rgb */ color: rgb(45, 4, 40);
/* oklch */ color: oklch(21.1% 0.083 333.6);
Tailwind
colors: {
  custom: {
    50: '#684962',
    500: '#2d0428',
    950: '#000000',
  },
}
SCSS
$custom: #2d0428;
$custom-light: #684962;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0428",
  "rgb": {
    "r": 45,
    "g": 4,
    "b": 40
  },
  "hsl": {
    "h": 307.317,
    "s": 83.673,
    "l": 9.608
  },
  "oklch": {
    "l": 0.2109,
    "c": 0.08326,
    "h": 333.6
  },
  "luminance": 0.00798
}

Semantic roles & 50–950 ramp

primary
#2D0428
secondary
#1D7027
accent
#FA472E
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #2D0428

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

Preview Lab → · Contrast checker → · Palette generator →

#2D0428 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva