#2F202D#2F202D

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

Color values

HEX#2F202D
RGBrgb(47, 32, 45)
HSLhsl(308, 19%, 15%)
HSVhsv(308, 32%, 18%)
CMYKcmyk(0%, 31.9%, 4.3%, 81.6%)
CIE-LABlab(14.55, 9.99, -5.80)
CIE-LCHlch(14.55, 11.55, 329.88°)
OKLaboklab(26.73% 0.0281 -0.0155)
OKLCHoklch(26.73% 0.032 331.1)
XYZxyz(2.1624, 1.8269, 2.7208)
Luminance0.0183 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F202D #202F22
analogous
#29202F #2F202D #2F2025
triadic
#2F202D #2D2F20 #202D2F
tetradic
#2F202D #2F2920 #202F22 #20252F
square
#2F202D #2F2920 #202F22 #20252F
split-complementary
#2F202D #252F20 #202F29
monochromatic
#120C11 #120C11 #2F202D #533950 #785273

Accessibility & contrast

On white

15.38
#2F202D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#2F202D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F202D
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F202D#FFFFFF#000000##FFFFFF
##2F202D1.0015.381.3715.38
#FFFFFF15.381.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20232E
Deuteranopia (green-blind)
#23252C
Tritanopia (blue-blind)
#302125
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #2f202d;
/* rgb */ color: rgb(47, 32, 45);
/* oklch */ color: oklch(26.7% 0.032 331.1);
Tailwind
colors: {
  custom: {
    50: '#675b65',
    500: '#2f202d',
    950: '#000000',
  },
}
SCSS
$custom: #2f202d;
$custom-light: #675b65;
$custom-dark: #000000;
JSON
{
  "hex": "#2f202d",
  "rgb": {
    "r": 47,
    "g": 32,
    "b": 45
  },
  "hsl": {
    "h": 308,
    "s": 18.987,
    "l": 15.49
  },
  "oklch": {
    "l": 0.26728,
    "c": 0.03215,
    "h": 331.1
  },
  "luminance": 0.01827
}

Semantic roles & 50–950 ramp

primary
#2F202D
secondary
#4A614D
accent
#BC776C
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060405
muted
#7A797A

Preview Lab

Preview with #2F202D

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

Preview Lab → · Contrast checker → · Palette generator →

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