#2D032F#2D032F

#2D032F is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.5% C 0.092 H 326.2°. Best body text is #FFFFFF at 18.02:1 contrast (WCAG AA passes).

Color values

HEX#2D032F
RGBrgb(45, 3, 47)
HSLhsl(297, 88%, 10%)
HSVhsv(297, 94%, 18%)
CMYKcmyk(4.3%, 93.6%, 0%, 81.6%)
CIE-LABlab(7.48, 27.66, -18.28)
CIE-LCHlch(7.48, 33.16, 326.54°)
OKLaboklab(21.46% 0.0761 -0.051)
OKLCHoklch(21.46% 0.092 326.2)
XYZxyz(1.6278, 0.8284, 2.7629)
Luminance0.0083 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D032F #052F03
analogous
#17032F #2D032F #2F031B
triadic
#2D032F #2F2D03 #032F2D
tetradic
#2D032F #2F1703 #052F03 #031B2F
square
#2D032F #2F1703 #052F03 #031B2F
split-complementary
#2D032F #1B2F03 #032F17
monochromatic
#1C021D #1C021D #2D032F #640769 #9B0AA2

Accessibility & contrast

On white

18.02
#2D032F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#2D032F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D032F
18.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D032F#FFFFFF#000000##FFFFFF
##2D032F1.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)
#001330
Deuteranopia (green-blind)
#0D182E
Tritanopia (blue-blind)
#2E0A18
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2d032f;
/* rgb */ color: rgb(45, 3, 47);
/* oklch */ color: oklch(21.5% 0.092 326.2);
Tailwind
colors: {
  custom: {
    50: '#684868',
    500: '#2d032f',
    950: '#000000',
  },
}
SCSS
$custom: #2d032f;
$custom-light: #684868;
$custom-dark: #000000;
JSON
{
  "hex": "#2d032f",
  "rgb": {
    "r": 45,
    "g": 3,
    "b": 47
  },
  "hsl": {
    "h": 297.273,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.21457,
    "c": 0.0916,
    "h": 326.2
  },
  "luminance": 0.00828
}

Semantic roles & 50–950 ramp

primary
#2D032F
secondary
#1F731B
accent
#FE2A33
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2D032F

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

Preview Lab → · Contrast checker → · Palette generator →

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