#2F2736#2F2736

#2F2736 is a dark, muted violet. Relative luminance 0.023; OKLCH L 28.8% C 0.029 H 308.8°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#2F2736
RGBrgb(47, 39, 54)
HSLhsl(272, 16%, 18%)
HSVhsv(272, 28%, 21%)
CMYKcmyk(13%, 27.8%, 0%, 78.8%)
CIE-LABlab(17.09, 7.31, -8.32)
CIE-LCHlch(17.09, 11.07, 311.30°)
OKLaboklab(28.81% 0.0182 -0.0226)
OKLCHoklch(28.81% 0.029 308.8)
XYZxyz(2.5635, 2.3217, 3.8024)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2736 #2E3627
analogous
#272736 #2F2736 #362735
triadic
#2F2736 #362F27 #27362F
tetradic
#2F2736 #362727 #2E3627 #273536
square
#2F2736 #362727 #2E3627 #273536
split-complementary
#2F2736 #353627 #273627
monochromatic
#0F0D12 #100D12 #2F2736 #4E415A #6D5A7D

Accessibility & contrast

On white

14.34
#2F2736 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#2F2736 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2736
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2736#FFFFFF#000000##FFFFFF
##2F27361.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252A37
Deuteranopia (green-blind)
#262A36
Tritanopia (blue-blind)
#2E292C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2f2736;
/* rgb */ color: rgb(47, 39, 54);
/* oklch */ color: oklch(28.8% 0.029 308.8);
Tailwind
colors: {
  custom: {
    50: '#67616d',
    500: '#2f2736',
    950: '#000000',
  },
}
SCSS
$custom: #2f2736;
$custom-light: #67616d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2736",
  "rgb": {
    "r": 47,
    "g": 39,
    "b": 54
  },
  "hsl": {
    "h": 272,
    "s": 16.129,
    "l": 18.235
  },
  "oklch": {
    "l": 0.2881,
    "c": 0.02903,
    "h": 308.8
  },
  "luminance": 0.02322
}

Semantic roles & 50–950 ramp

primary
#2F2736
secondary
#5C6752
accent
#B96F91
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060507
muted
#7A797A

Preview Lab

Preview with #2F2736

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

Preview Lab → · Contrast checker → · Palette generator →

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