#2F2D37#2F2D37

#2F2D37 is a dark, near-neutral violet. Relative luminance 0.028; OKLCH L 30.3% C 0.018 H 294.5°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#2F2D37
RGBrgb(47, 45, 55)
HSLhsl(252, 10%, 20%)
HSVhsv(252, 18%, 22%)
CMYKcmyk(14.5%, 18.2%, 0%, 78.4%)
CIE-LABlab(19.04, 3.38, -6.06)
CIE-LCHlch(19.04, 6.94, 299.14°)
OKLaboklab(30.34% 0.0075 -0.0164)
OKLCHoklch(30.34% 0.018 294.5)
XYZxyz(2.8001, 2.7569, 3.9983)
Luminance0.0276 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2D37 #35372D
analogous
#2D3037 #2F2D37 #342D37
triadic
#2F2D37 #372F2D #2D372F
tetradic
#2F2D37 #372D30 #35372D #2D3734
square
#2F2D37 #372D30 #35372D #2D3734
split-complementary
#2F2D37 #37342D #30372D
monochromatic
#0E0E11 #121115 #2F2D37 #4C4959 #69647A

Accessibility & contrast

On white

13.54
#2F2D37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#2F2D37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2D37
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2D37#FFFFFF#000000##FFFFFF
##2F2D371.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2E37
Deuteranopia (green-blind)
#2B2E37
Tritanopia (blue-blind)
#2E2E30
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2f2d37;
/* rgb */ color: rgb(47, 45, 55);
/* oklch */ color: oklch(30.3% 0.018 294.5);
Tailwind
colors: {
  custom: {
    50: '#67656d',
    500: '#2f2d37',
    950: '#000000',
  },
}
SCSS
$custom: #2f2d37;
$custom-light: #67656d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2d37",
  "rgb": {
    "r": 47,
    "g": 45,
    "b": 55
  },
  "hsl": {
    "h": 252,
    "s": 10,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30336,
    "c": 0.01802,
    "h": 294.5
  },
  "luminance": 0.02757
}

Semantic roles & 50–950 ramp

primary
#2F2D37
secondary
#646759
accent
#B375A7
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060507
muted
#7A7A7A

Preview Lab

Preview with #2F2D37

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

Preview Lab → · Contrast checker → · Palette generator →

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