#2F262F#2F262F

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

Color values

HEX#2F262F
RGBrgb(47, 38, 47)
HSLhsl(300, 11%, 17%)
HSVhsv(300, 19%, 18%)
CMYKcmyk(0%, 19.1%, 0%, 81.6%)
CIE-LABlab(16.48, 6.23, -4.32)
CIE-LCHlch(16.48, 7.58, 325.30°)
OKLaboklab(28.24% 0.0172 -0.0115)
OKLCHoklch(28.24% 0.021 326.1)
XYZxyz(2.3784, 2.1958, 2.9873)
Luminance0.0220 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F262F #262F26
analogous
#2B262F #2F262F #2F262B
triadic
#2F262F #2F2F26 #262F2F
tetradic
#2F262F #2F2B26 #262F26 #262B2F
square
#2F262F #2F2B26 #262F26 #262B2F
split-complementary
#2F262F #2B2F26 #262F2B
monochromatic
#110E11 #110E11 #2F262F #514151 #735D73

Accessibility & contrast

On white

14.59
#2F262F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#2F262F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F262F
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F262F#FFFFFF#000000##FFFFFF
##2F262F1.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25282F
Deuteranopia (green-blind)
#27292F
Tritanopia (blue-blind)
#302729
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2f262f;
/* rgb */ color: rgb(47, 38, 47);
/* oklch */ color: oklch(28.2% 0.021 326.1);
Tailwind
colors: {
  custom: {
    50: '#676067',
    500: '#2f262f',
    950: '#000000',
  },
}
SCSS
$custom: #2f262f;
$custom-light: #676067;
$custom-dark: #000000;
JSON
{
  "hex": "#2f262f",
  "rgb": {
    "r": 47,
    "g": 38,
    "b": 47
  },
  "hsl": {
    "h": 300,
    "s": 10.588,
    "l": 16.667
  },
  "oklch": {
    "l": 0.28242,
    "c": 0.0207,
    "h": 326.1
  },
  "luminance": 0.02196
}

Semantic roles & 50–950 ramp

primary
#2F262F
secondary
#525F52
accent
#B47474
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060406
muted
#7A797A

Preview Lab

Preview with #2F262F

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

Preview Lab → · Contrast checker → · Palette generator →

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