#2F262E#2F262E

#2F262E is a dark, near-neutral purple. Relative luminance 0.022; OKLCH L 28.2% C 0.019 H 329.7°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#2F262E
RGBrgb(47, 38, 46)
HSLhsl(307, 11%, 17%)
HSVhsv(307, 19%, 18%)
CMYKcmyk(0%, 19.1%, 2.1%, 81.6%)
CIE-LABlab(16.44, 5.99, -3.67)
CIE-LCHlch(16.44, 7.03, 328.53°)
OKLaboklab(28.2% 0.0167 -0.0098)
OKLCHoklch(28.2% 0.019 329.7)
XYZxyz(2.3585, 2.1879, 2.8823)
Luminance0.0219 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F262E #262F27
analogous
#2C262F #2F262E #2F262A
triadic
#2F262E #2E2F26 #262E2F
tetradic
#2F262E #2F2C26 #262F27 #262A2F
square
#2F262E #2F2C26 #262F27 #262A2F
split-complementary
#2F262E #2A2F26 #262F2C
monochromatic
#110E11 #110E11 #2F262E #51414F #735D70

Accessibility & contrast

On white

14.61
#2F262E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F262E
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F262E#FFFFFF#000000##FFFFFF
##2F262E1.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26282E
Deuteranopia (green-blind)
#28292E
Tritanopia (blue-blind)
#302729
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2f262e;
/* rgb */ color: rgb(47, 38, 46);
/* oklch */ color: oklch(28.2% 0.019 329.7);
Tailwind
colors: {
  custom: {
    50: '#676066',
    500: '#2f262e',
    950: '#000000',
  },
}
SCSS
$custom: #2f262e;
$custom-light: #676066;
$custom-dark: #000000;
JSON
{
  "hex": "#2f262e",
  "rgb": {
    "r": 47,
    "g": 38,
    "b": 46
  },
  "hsl": {
    "h": 306.667,
    "s": 10.588,
    "l": 16.667
  },
  "oklch": {
    "l": 0.28199,
    "c": 0.01937,
    "h": 329.7
  },
  "luminance": 0.02188
}

Semantic roles & 50–950 ramp

primary
#2F262E
secondary
#525F53
accent
#B47B74
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060406
muted
#7A797A

Preview Lab

Preview with #2F262E

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

Preview Lab → · Contrast checker → · Palette generator →

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