#2E272E#2E272E

#2E272E is a dark, near-neutral purple. Relative luminance 0.022; OKLCH L 28.3% C 0.016 H 326.0°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#2E272E
RGBrgb(46, 39, 46)
HSLhsl(300, 8%, 17%)
HSVhsv(300, 15%, 18%)
CMYKcmyk(0%, 15.2%, 0%, 82%)
CIE-LABlab(16.65, 4.85, -3.38)
CIE-LCHlch(16.65, 5.91, 325.12°)
OKLaboklab(28.33% 0.0133 -0.009)
OKLCHoklch(28.33% 0.016 326)
XYZxyz(2.3453, 2.2292, 2.8910)
Luminance0.0223 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E272E #272E27
analogous
#2B272E #2E272E #2E272B
triadic
#2E272E #2E2E27 #272E2E
tetradic
#2E272E #2E2B27 #272E27 #272B2E
square
#2E272E #2E2B27 #272E27 #272B2E
split-complementary
#2E272E #2B2E27 #272E2B
monochromatic
#110E11 #110E11 #2E272E #4F434F #705F70

Accessibility & contrast

On white

14.52
#2E272E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#2E272E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E272E
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E272E#FFFFFF#000000##FFFFFF
##2E272E1.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27292E
Deuteranopia (green-blind)
#28292E
Tritanopia (blue-blind)
#2E2829
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2e272e;
/* rgb */ color: rgb(46, 39, 46);
/* oklch */ color: oklch(28.3% 0.016 326.0);
Tailwind
colors: {
  custom: {
    50: '#666166',
    500: '#2e272e',
    950: '#000000',
  },
}
SCSS
$custom: #2e272e;
$custom-light: #666166;
$custom-dark: #000000;
JSON
{
  "hex": "#2e272e",
  "rgb": {
    "r": 46,
    "g": 39,
    "b": 46
  },
  "hsl": {
    "h": 300,
    "s": 8.235,
    "l": 16.667
  },
  "oklch": {
    "l": 0.28329,
    "c": 0.01609,
    "h": 326
  },
  "luminance": 0.02229
}

Semantic roles & 50–950 ramp

primary
#2E272E
secondary
#535D53
accent
#B17777
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060506
muted
#7A797A

Preview Lab

Preview with #2E272E

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

Preview Lab → · Contrast checker → · Palette generator →

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