#2D052E#2D052E

#2D052E is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.7% C 0.087 H 327.0°. Best body text is #FFFFFF at 17.91:1 contrast (WCAG AA passes).

Color values

HEX#2D052E
RGBrgb(45, 5, 46)
HSLhsl(299, 80%, 10%)
HSVhsv(299, 89%, 18%)
CMYKcmyk(2.2%, 89.1%, 0%, 82%)
CIE-LABlab(7.80, 26.33, -17.03)
CIE-LCHlch(7.80, 31.36, 327.11°)
OKLaboklab(21.67% 0.0729 -0.0473)
OKLCHoklch(21.67% 0.087 327)
XYZxyz(1.6296, 0.8638, 2.6651)
Luminance0.0086 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D052E #062E05
analogous
#19052E #2D052E #2E051A
triadic
#2D052E #2E2D05 #052E2D
tetradic
#2D052E #2E1905 #062E05 #051A2E
square
#2D052E #2E1905 #062E05 #051A2E
split-complementary
#2D052E #1A2E05 #052E19
monochromatic
#1B031C #1B031C #2D052E #630B65 #99119C

Accessibility & contrast

On white

17.91
#2D052E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D052E
17.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D052E#FFFFFF#000000##FFFFFF
##2D052E1.0017.911.1717.91
#FFFFFF17.911.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00142F
Deuteranopia (green-blind)
#0F192D
Tritanopia (blue-blind)
#2F0B19
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2d052e;
/* rgb */ color: rgb(45, 5, 46);
/* oklch */ color: oklch(21.7% 0.087 327.0);
Tailwind
colors: {
  custom: {
    50: '#684967',
    500: '#2d052e',
    950: '#000000',
  },
}
SCSS
$custom: #2d052e;
$custom-light: #684967;
$custom-dark: #000000;
JSON
{
  "hex": "#2d052e",
  "rgb": {
    "r": 45,
    "g": 5,
    "b": 46
  },
  "hsl": {
    "h": 298.537,
    "s": 80.392,
    "l": 10
  },
  "oklch": {
    "l": 0.21667,
    "c": 0.08691,
    "h": 327
  },
  "luminance": 0.00864
}

Semantic roles & 50–950 ramp

primary
#2D052E
secondary
#21701F
accent
#F73136
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2D052E

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

Preview Lab → · Contrast checker → · Palette generator →

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