#2F142C#2F142C

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

Color values

HEX#2F142C
RGBrgb(47, 20, 44)
HSLhsl(307, 40%, 13%)
HSVhsv(307, 57%, 18%)
CMYKcmyk(0%, 57.4%, 6.4%, 81.6%)
CIE-LABlab(11.18, 17.99, -10.22)
CIE-LCHlch(11.18, 20.69, 330.40°)
OKLaboklab(24.17% 0.0511 -0.0278)
OKLCHoklch(24.17% 0.058 331.5)
XYZxyz(1.8771, 1.2866, 2.5319)
Luminance0.0129 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F142C #142F17
analogous
#24142F #2F142C #2F141E
triadic
#2F142C #2C2F14 #142C2F
tetradic
#2F142C #2F2414 #142F17 #141E2F
square
#2F142C #2F2414 #142F17 #141E2F
split-complementary
#2F142C #1E2F14 #142F24
monochromatic
#150914 #150914 #2F142C #5A2654 #85397C

Accessibility & contrast

On white

16.70
#2F142C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F142C
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F142C#FFFFFF#000000##FFFFFF
##2F142C1.0016.701.2616.70
#FFFFFF16.701.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f142c;
/* rgb */ color: rgb(47, 20, 44);
/* oklch */ color: oklch(24.2% 0.058 331.5);
Tailwind
colors: {
  custom: {
    50: '#685265',
    500: '#2f142c',
    950: '#000000',
  },
}
SCSS
$custom: #2f142c;
$custom-light: #685265;
$custom-dark: #000000;
JSON
{
  "hex": "#2f142c",
  "rgb": {
    "r": 47,
    "g": 20,
    "b": 44
  },
  "hsl": {
    "h": 306.667,
    "s": 40.299,
    "l": 13.137
  },
  "oklch": {
    "l": 0.24168,
    "c": 0.0582,
    "h": 331.5
  },
  "luminance": 0.01286
}

Semantic roles & 50–950 ramp

primary
#2F142C
secondary
#39663E
accent
#D06558
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060205
muted
#7A787A

Preview Lab

Preview with #2F142C

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

Preview Lab → · Contrast checker → · Palette generator →

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