#2F252E#2F252E

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

Color values

HEX#2F252E
RGBrgb(47, 37, 46)
HSLhsl(306, 12%, 16%)
HSVhsv(306, 21%, 18%)
CMYKcmyk(0%, 21.3%, 2.1%, 81.6%)
CIE-LABlab(16.13, 6.70, -4.14)
CIE-LCHlch(16.13, 7.87, 328.28°)
OKLaboklab(27.96% 0.0187 -0.011)
OKLCHoklch(27.96% 0.022 329.4)
XYZxyz(2.3269, 2.1248, 2.8718)
Luminance0.0213 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F252E #252F26
analogous
#2B252F #2F252E #2F2529
triadic
#2F252E #2E2F25 #252E2F
tetradic
#2F252E #2F2B25 #252F26 #25292F
square
#2F252E #2F2B25 #252F26 #25292F
split-complementary
#2F252E #292F25 #252F2B
monochromatic
#110D11 #110D11 #2F252E #514050 #735B71

Accessibility & contrast

On white

14.74
#2F252E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F252E
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F252E#FFFFFF#000000##FFFFFF
##2F252E1.0014.741.4314.74
#FFFFFF14.741.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f252e;
/* rgb */ color: rgb(47, 37, 46);
/* oklch */ color: oklch(28.0% 0.022 329.4);
Tailwind
colors: {
  custom: {
    50: '#675f66',
    500: '#2f252e',
    950: '#000000',
  },
}
SCSS
$custom: #2f252e;
$custom-light: #675f66;
$custom-dark: #000000;
JSON
{
  "hex": "#2f252e",
  "rgb": {
    "r": 47,
    "g": 37,
    "b": 46
  },
  "hsl": {
    "h": 306,
    "s": 11.905,
    "l": 16.471
  },
  "oklch": {
    "l": 0.27955,
    "c": 0.02171,
    "h": 329.4
  },
  "luminance": 0.02125
}

Semantic roles & 50–950 ramp

primary
#2F252E
secondary
#515F52
accent
#B57A73
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060406
muted
#7A797A

Preview Lab

Preview with #2F252E

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

Preview Lab → · Contrast checker → · Palette generator →

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