#2D202F#2D202F

#2D202F is a dark, muted purple. Relative luminance 0.018; OKLCH L 26.6% C 0.033 H 321.9°. Best body text is #FFFFFF at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#2D202F
RGBrgb(45, 32, 47)
HSLhsl(292, 19%, 15%)
HSVhsv(292, 32%, 18%)
CMYKcmyk(4.3%, 31.9%, 0%, 81.6%)
CIE-LABlab(14.38, 9.62, -7.52)
CIE-LCHlch(14.38, 12.21, 321.99°)
OKLaboklab(26.57% 0.026 -0.0203)
OKLCHoklch(26.57% 0.033 321.9)
XYZxyz(2.1117, 1.7962, 2.9242)
Luminance0.0180 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D202F #222F20
analogous
#25202F #2D202F #2F2029
triadic
#2D202F #2F2D20 #202F2D
tetradic
#2D202F #2F2520 #222F20 #20292F
square
#2D202F #2F2520 #222F20 #20292F
split-complementary
#2D202F #292F20 #202F25
monochromatic
#110C12 #110C12 #2D202F #503953 #735278

Accessibility & contrast

On white

15.45
#2D202F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D202F
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D202F#FFFFFF#000000##FFFFFF
##2D202F1.0015.451.3615.45
#FFFFFF15.451.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2330
Deuteranopia (green-blind)
#21252E
Tritanopia (blue-blind)
#2D2125
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #2d202f;
/* rgb */ color: rgb(45, 32, 47);
/* oklch */ color: oklch(26.6% 0.033 321.9);
Tailwind
colors: {
  custom: {
    50: '#665b67',
    500: '#2d202f',
    950: '#000000',
  },
}
SCSS
$custom: #2d202f;
$custom-light: #665b67;
$custom-dark: #000000;
JSON
{
  "hex": "#2d202f",
  "rgb": {
    "r": 45,
    "g": 32,
    "b": 47
  },
  "hsl": {
    "h": 292,
    "s": 18.987,
    "l": 15.49
  },
  "oklch": {
    "l": 0.26566,
    "c": 0.03299,
    "h": 321.9
  },
  "luminance": 0.01796
}

Semantic roles & 50–950 ramp

primary
#2D202F
secondary
#4D614A
accent
#BC6C77
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060406
muted
#7A797A

Preview Lab

Preview with #2D202F

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

Preview Lab → · Contrast checker → · Palette generator →

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