#2F252F#2F252F

#2F252F is a dark, muted purple. Relative luminance 0.021; OKLCH L 28.0% C 0.023 H 326.2°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#2F252F
RGBrgb(47, 37, 47)
HSLhsl(300, 12%, 16%)
HSVhsv(300, 21%, 18%)
CMYKcmyk(0%, 21.3%, 0%, 81.6%)
CIE-LABlab(16.17, 6.94, -4.79)
CIE-LCHlch(16.17, 8.43, 325.40°)
OKLaboklab(28% 0.0191 -0.0128)
OKLCHoklch(28% 0.023 326.2)
XYZxyz(2.3469, 2.1328, 2.9768)
Luminance0.0213 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F252F #252F25
analogous
#2A252F #2F252F #2F252A
triadic
#2F252F #2F2F25 #252F2F
tetradic
#2F252F #2F2A25 #252F25 #252A2F
square
#2F252F #2F2A25 #252F25 #252A2F
split-complementary
#2F252F #2A2F25 #252F2A
monochromatic
#110D11 #110D11 #2F252F #514051 #735B73

Accessibility & contrast

On white

14.72
#2F252F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#2F252F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F252F
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F252F#FFFFFF#000000##FFFFFF
##2F252F1.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24272F
Deuteranopia (green-blind)
#27292F
Tritanopia (blue-blind)
#302628
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2f252f;
/* rgb */ color: rgb(47, 37, 47);
/* oklch */ color: oklch(28.0% 0.023 326.2);
Tailwind
colors: {
  custom: {
    50: '#675f67',
    500: '#2f252f',
    950: '#000000',
  },
}
SCSS
$custom: #2f252f;
$custom-light: #675f67;
$custom-dark: #000000;
JSON
{
  "hex": "#2f252f",
  "rgb": {
    "r": 47,
    "g": 37,
    "b": 47
  },
  "hsl": {
    "h": 300,
    "s": 11.905,
    "l": 16.471
  },
  "oklch": {
    "l": 0.27999,
    "c": 0.02303,
    "h": 326.2
  },
  "luminance": 0.02133
}

Semantic roles & 50–950 ramp

primary
#2F252F
secondary
#515F51
accent
#B57373
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060406
muted
#7A797A

Preview Lab

Preview with #2F252F

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

Preview Lab → · Contrast checker → · Palette generator →

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