#2D202E#2D202E

#2D202E is a dark, muted purple. Relative luminance 0.018; OKLCH L 26.5% C 0.032 H 324.1°. Best body text is #FFFFFF at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#2D202E
RGBrgb(45, 32, 46)
HSLhsl(296, 18%, 15%)
HSVhsv(296, 30%, 18%)
CMYKcmyk(2.2%, 30.4%, 0%, 82%)
CIE-LABlab(14.33, 9.37, -6.87)
CIE-LCHlch(14.33, 11.62, 323.76°)
OKLaboklab(26.52% 0.0256 -0.0185)
OKLCHoklch(26.52% 0.032 324.1)
XYZxyz(2.0918, 1.7882, 2.8192)
Luminance0.0179 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D202E #212E20
analogous
#26202E #2D202E #2E2028
triadic
#2D202E #2E2D20 #202E2D
tetradic
#2D202E #2E2620 #212E20 #20282E
square
#2D202E #2E2620 #212E20 #20282E
split-complementary
#2D202E #282E20 #202E26
monochromatic
#120D12 #120D12 #2D202E #503952 #745276

Accessibility & contrast

On white

15.47
#2D202E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#2D202E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D202E
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D202E#FFFFFF#000000##FFFFFF
##2D202E1.0015.471.3615.47
#FFFFFF15.471.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F232F
Deuteranopia (green-blind)
#22252E
Tritanopia (blue-blind)
#2E2125
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #2d202e;
/* rgb */ color: rgb(45, 32, 46);
/* oklch */ color: oklch(26.5% 0.032 324.1);
Tailwind
colors: {
  custom: {
    50: '#665b66',
    500: '#2d202e',
    950: '#000000',
  },
}
SCSS
$custom: #2d202e;
$custom-light: #665b66;
$custom-dark: #000000;
JSON
{
  "hex": "#2d202e",
  "rgb": {
    "r": 45,
    "g": 32,
    "b": 46
  },
  "hsl": {
    "h": 295.714,
    "s": 17.949,
    "l": 15.294
  },
  "oklch": {
    "l": 0.26517,
    "c": 0.0316,
    "h": 324.1
  },
  "luminance": 0.01788
}

Semantic roles & 50–950 ramp

primary
#2D202E
secondary
#4C604A
accent
#BB6D73
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060406
muted
#7A797A

Preview Lab

Preview with #2D202E

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

Preview Lab → · Contrast checker → · Palette generator →

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