#2D042E#2D042E

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

Color values

HEX#2D042E
RGBrgb(45, 4, 46)
HSLhsl(299, 84%, 10%)
HSVhsv(299, 91%, 18%)
CMYKcmyk(2.2%, 91.3%, 0%, 82%)
CIE-LABlab(7.61, 26.89, -17.34)
CIE-LCHlch(7.61, 32.00, 327.18°)
OKLaboklab(21.52% 0.0745 -0.0482)
OKLCHoklch(21.52% 0.089 327.1)
XYZxyz(1.6187, 0.8421, 2.6615)
Luminance0.0084 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D042E #052E04
analogous
#18042E #2D042E #2E041A
triadic
#2D042E #2E2D04 #042E2D
tetradic
#2D042E #2E1804 #052E04 #041A2E
square
#2D042E #2E1804 #052E04 #041A2E
split-complementary
#2D042E #1A2E04 #042E18
monochromatic
#1C021C #1C021C #2D042E #640966 #9B0E9F

Accessibility & contrast

On white

17.97
#2D042E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D042E
17.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D042E#FFFFFF#000000##FFFFFF
##2D042E1.0017.971.1717.97
#FFFFFF17.971.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00132F
Deuteranopia (green-blind)
#0E192D
Tritanopia (blue-blind)
#2F0A18
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2d042e;
/* rgb */ color: rgb(45, 4, 46);
/* oklch */ color: oklch(21.5% 0.089 327.1);
Tailwind
colors: {
  custom: {
    50: '#684967',
    500: '#2d042e',
    950: '#000000',
  },
}
SCSS
$custom: #2d042e;
$custom-light: #684967;
$custom-dark: #000000;
JSON
{
  "hex": "#2d042e",
  "rgb": {
    "r": 45,
    "g": 4,
    "b": 46
  },
  "hsl": {
    "h": 298.571,
    "s": 84,
    "l": 9.804
  },
  "oklch": {
    "l": 0.21524,
    "c": 0.08877,
    "h": 327.1
  },
  "luminance": 0.00842
}

Semantic roles & 50–950 ramp

primary
#2D042E
secondary
#1F711D
accent
#FA2E32
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2D042E

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

Preview Lab → · Contrast checker → · Palette generator →

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