#2F142D#2F142D

#2F142D is a very dark, muted purple. Relative luminance 0.013; OKLCH L 24.2% C 0.059 H 330.0°. Best body text is #FFFFFF at 16.68:1 contrast (WCAG AA passes).

Color values

HEX#2F142D
RGBrgb(47, 20, 45)
HSLhsl(304, 40%, 13%)
HSVhsv(304, 57%, 18%)
CMYKcmyk(0%, 57.4%, 4.3%, 81.6%)
CIE-LABlab(11.23, 18.21, -10.87)
CIE-LCHlch(11.23, 21.21, 329.17°)
OKLaboklab(24.23% 0.0514 -0.0296)
OKLCHoklch(24.23% 0.059 330)
XYZxyz(1.8961, 1.2942, 2.6321)
Luminance0.0129 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F142D #142F16
analogous
#23142F #2F142D #2F141F
triadic
#2F142D #2D2F14 #142D2F
tetradic
#2F142D #2F2314 #142F16 #141F2F
square
#2F142D #2F2314 #142F16 #141F2F
split-complementary
#2F142D #1F2F14 #142F23
monochromatic
#150915 #150915 #2F142D #5A2656 #85397F

Accessibility & contrast

On white

16.68
#2F142D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F142D
16.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F142D#FFFFFF#000000##FFFFFF
##2F142D1.0016.681.2616.68
#FFFFFF16.681.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131C2E
Deuteranopia (green-blind)
#1A1F2C
Tritanopia (blue-blind)
#31161E
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2f142d;
/* rgb */ color: rgb(47, 20, 45);
/* oklch */ color: oklch(24.2% 0.059 330.0);
Tailwind
colors: {
  custom: {
    50: '#685266',
    500: '#2f142d',
    950: '#000000',
  },
}
SCSS
$custom: #2f142d;
$custom-light: #685266;
$custom-dark: #000000;
JSON
{
  "hex": "#2f142d",
  "rgb": {
    "r": 47,
    "g": 20,
    "b": 45
  },
  "hsl": {
    "h": 304.444,
    "s": 40.299,
    "l": 13.137
  },
  "oklch": {
    "l": 0.24225,
    "c": 0.05933,
    "h": 330
  },
  "luminance": 0.01294
}

Semantic roles & 50–950 ramp

primary
#2F142D
secondary
#39663C
accent
#D06158
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060205
muted
#7A787A

Preview Lab

Preview with #2F142D

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

Preview Lab → · Contrast checker → · Palette generator →

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