#2F202F#2F202F

#2F202F is a dark, muted purple. Relative luminance 0.018; OKLCH L 26.8% C 0.035 H 326.5°. Best body text is #FFFFFF at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#2F202F
RGBrgb(47, 32, 47)
HSLhsl(300, 19%, 15%)
HSVhsv(300, 32%, 18%)
CMYKcmyk(0%, 31.9%, 0%, 81.6%)
CIE-LABlab(14.64, 10.47, -7.10)
CIE-LCHlch(14.64, 12.65, 325.87°)
OKLaboklab(26.82% 0.0289 -0.0191)
OKLCHoklch(26.82% 0.035 326.5)
XYZxyz(2.2018, 1.8427, 2.9285)
Luminance0.0184 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F202F #202F20
analogous
#27202F #2F202F #2F2027
triadic
#2F202F #2F2F20 #202F2F
tetradic
#2F202F #2F2720 #202F20 #20272F
square
#2F202F #2F2720 #202F20 #20272F
split-complementary
#2F202F #272F20 #202F27
monochromatic
#120C12 #120C12 #2F202F #533953 #785278

Accessibility & contrast

On white

15.34
#2F202F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F202F
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F202F#FFFFFF#000000##FFFFFF
##2F202F1.0015.341.3715.34
#FFFFFF15.341.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2430
Deuteranopia (green-blind)
#22262E
Tritanopia (blue-blind)
#302125
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #2f202f;
/* rgb */ color: rgb(47, 32, 47);
/* oklch */ color: oklch(26.8% 0.035 326.5);
Tailwind
colors: {
  custom: {
    50: '#675b67',
    500: '#2f202f',
    950: '#000000',
  },
}
SCSS
$custom: #2f202f;
$custom-light: #675b67;
$custom-dark: #000000;
JSON
{
  "hex": "#2f202f",
  "rgb": {
    "r": 47,
    "g": 32,
    "b": 47
  },
  "hsl": {
    "h": 300,
    "s": 18.987,
    "l": 15.49
  },
  "oklch": {
    "l": 0.26824,
    "c": 0.03469,
    "h": 326.5
  },
  "luminance": 0.01843
}

Semantic roles & 50–950 ramp

primary
#2F202F
secondary
#4A614A
accent
#BC6C6C
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060406
muted
#7A797A

Preview Lab

Preview with #2F202F

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

Preview Lab → · Contrast checker → · Palette generator →

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