#2D052C#2D052C

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

Color values

HEX#2D052C
RGBrgb(45, 5, 44)
HSLhsl(302, 80%, 10%)
HSVhsv(302, 89%, 18%)
CMYKcmyk(0%, 88.9%, 2.2%, 82.4%)
CIE-LABlab(7.66, 25.91, -15.76)
CIE-LCHlch(7.66, 30.32, 328.69°)
OKLaboklab(21.52% 0.0729 -0.0436)
OKLCHoklch(21.52% 0.085 329.1)
XYZxyz(1.5911, 0.8484, 2.4623)
Luminance0.0085 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D052C #052D06
analogous
#1A052D #2D052C #2D0518
triadic
#2D052C #2C2D05 #052C2D
tetradic
#2D052C #2D1A05 #052D06 #05182D
square
#2D052C #2D1A05 #052D06 #05182D
split-complementary
#2D052C #182D05 #052D1A
monochromatic
#1C031B #1C031B #2D052C #640B62 #9B1198

Accessibility & contrast

On white

17.95
#2D052C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D052C
17.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D052C#FFFFFF#000000##FFFFFF
##2D052C1.0017.951.1717.95
#FFFFFF17.951.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01132D
Deuteranopia (green-blind)
#10192B
Tritanopia (blue-blind)
#2F0A17
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2d052c;
/* rgb */ color: rgb(45, 5, 44);
/* oklch */ color: oklch(21.5% 0.085 329.1);
Tailwind
colors: {
  custom: {
    50: '#684965',
    500: '#2d052c',
    950: '#000000',
  },
}
SCSS
$custom: #2d052c;
$custom-light: #684965;
$custom-dark: #000000;
JSON
{
  "hex": "#2d052c",
  "rgb": {
    "r": 45,
    "g": 5,
    "b": 44
  },
  "hsl": {
    "h": 301.5,
    "s": 80,
    "l": 9.804
  },
  "oklch": {
    "l": 0.2152,
    "c": 0.08499,
    "h": 329.1
  },
  "luminance": 0.00848
}

Semantic roles & 50–950 ramp

primary
#2D052C
secondary
#1F6F21
accent
#F63631
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060105
muted
#7A777A

Preview Lab

Preview with #2D052C

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

Preview Lab → · Contrast checker → · Palette generator →

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