#2D0427#2D0427

#2D0427 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.0% C 0.082 H 334.7°. Best body text is #FFFFFF at 18.13:1 contrast (WCAG AA passes).

Color values

HEX#2D0427
RGBrgb(45, 4, 39)
HSLhsl(309, 84%, 10%)
HSVhsv(309, 91%, 18%)
CMYKcmyk(0%, 91.1%, 13.3%, 82.4%)
CIE-LABlab(7.15, 25.41, -12.80)
CIE-LCHlch(7.15, 28.45, 333.27°)
OKLaboklab(21.02% 0.0745 -0.0352)
OKLCHoklch(21.02% 0.082 334.7)
XYZxyz(1.4918, 0.7913, 1.9932)
Luminance0.0079 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0427 #042D0A
analogous
#1F042D #2D0427 #2D0413
triadic
#2D0427 #272D04 #04272D
tetradic
#2D0427 #2D1F04 #042D0A #04132D
square
#2D0427 #2D1F04 #042D0A #04132D
split-complementary
#2D0427 #132D04 #042D1F
monochromatic
#1C0218 #1C0218 #2D0427 #650958 #9D0E88

Accessibility & contrast

On white

18.13
#2D0427 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0427
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0427#FFFFFF#000000##FFFFFF
##2D04271.0018.131.1618.13
#FFFFFF18.131.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041228
Deuteranopia (green-blind)
#121826
Tritanopia (blue-blind)
#300714
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2d0427;
/* rgb */ color: rgb(45, 4, 39);
/* oklch */ color: oklch(21.0% 0.082 334.7);
Tailwind
colors: {
  custom: {
    50: '#684961',
    500: '#2d0427',
    950: '#000000',
  },
}
SCSS
$custom: #2d0427;
$custom-light: #684961;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0427",
  "rgb": {
    "r": 45,
    "g": 4,
    "b": 39
  },
  "hsl": {
    "h": 308.78,
    "s": 83.673,
    "l": 9.608
  },
  "oklch": {
    "l": 0.21023,
    "c": 0.08238,
    "h": 334.7
  },
  "luminance": 0.00791
}

Semantic roles & 50–950 ramp

primary
#2D0427
secondary
#1D7029
accent
#FA4C2E
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060105
muted
#7A7779

Preview Lab

Preview with #2D0427

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

Preview Lab → · Contrast checker → · Palette generator →

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