#2F142B#2F142B

#2F142B is a very dark, muted purple. Relative luminance 0.013; OKLCH L 24.1% C 0.057 H 333.0°. Best body text is #FFFFFF at 16.72:1 contrast (WCAG AA passes).

Color values

HEX#2F142B
RGBrgb(47, 20, 43)
HSLhsl(309, 40%, 13%)
HSVhsv(309, 57%, 18%)
CMYKcmyk(0%, 57.4%, 8.5%, 81.6%)
CIE-LABlab(11.13, 17.77, -9.57)
CIE-LCHlch(11.13, 20.18, 331.70°)
OKLaboklab(24.11% 0.0509 -0.0259)
OKLCHoklch(24.11% 0.057 333)
XYZxyz(1.8585, 1.2792, 2.4340)
Luminance0.0128 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F142B #142F18
analogous
#25142F #2F142B #2F141D
triadic
#2F142B #2B2F14 #142B2F
tetradic
#2F142B #2F2514 #142F18 #141D2F
square
#2F142B #2F2514 #142F18 #141D2F
split-complementary
#2F142B #1D2F14 #142F25
monochromatic
#150914 #150914 #2F142B #5A2652 #85397A

Accessibility & contrast

On white

16.72
#2F142B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#2F142B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F142B
16.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F142B#FFFFFF#000000##FFFFFF
##2F142B1.0016.721.2616.72
#FFFFFF16.721.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131B2C
Deuteranopia (green-blind)
#1B1F2A
Tritanopia (blue-blind)
#31161D
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2f142b;
/* rgb */ color: rgb(47, 20, 43);
/* oklch */ color: oklch(24.1% 0.057 333.0);
Tailwind
colors: {
  custom: {
    50: '#685264',
    500: '#2f142b',
    950: '#000000',
  },
}
SCSS
$custom: #2f142b;
$custom-light: #685264;
$custom-dark: #000000;
JSON
{
  "hex": "#2f142b",
  "rgb": {
    "r": 47,
    "g": 20,
    "b": 43
  },
  "hsl": {
    "h": 308.889,
    "s": 40.299,
    "l": 13.137
  },
  "oklch": {
    "l": 0.24111,
    "c": 0.0571,
    "h": 333
  },
  "luminance": 0.01279
}

Semantic roles & 50–950 ramp

primary
#2F142B
secondary
#396640
accent
#D06958
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060205
muted
#7A7879

Preview Lab

Preview with #2F142B

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

Preview Lab → · Contrast checker → · Palette generator →

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