#2F142E#2F142E

#2F142E is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.3% C 0.060 H 328.6°. Best body text is #FFFFFF at 16.66:1 contrast (WCAG AA passes).

Color values

HEX#2F142E
RGBrgb(47, 20, 46)
HSLhsl(302, 40%, 13%)
HSVhsv(302, 57%, 18%)
CMYKcmyk(0%, 57.4%, 2.1%, 81.6%)
CIE-LABlab(11.29, 18.44, -11.52)
CIE-LCHlch(11.29, 21.74, 328.01°)
OKLaboklab(24.28% 0.0516 -0.0315)
OKLCHoklch(24.28% 0.06 328.6)
XYZxyz(1.9156, 1.3020, 2.7347)
Luminance0.0130 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F142E #142F15
analogous
#22142F #2F142E #2F1420
triadic
#2F142E #2E2F14 #142E2F
tetradic
#2F142E #2F2214 #142F15 #14202F
square
#2F142E #2F2214 #142F15 #14202F
split-complementary
#2F142E #202F14 #142F22
monochromatic
#150915 #150915 #2F142E #5A2658 #853982

Accessibility & contrast

On white

16.66
#2F142E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F142E
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F142E#FFFFFF#000000##FFFFFF
##2F142E1.0016.661.2616.66
#FFFFFF16.661.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121C2F
Deuteranopia (green-blind)
#1A1F2D
Tritanopia (blue-blind)
#31171E
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2f142e;
/* rgb */ color: rgb(47, 20, 46);
/* oklch */ color: oklch(24.3% 0.060 328.6);
Tailwind
colors: {
  custom: {
    50: '#685266',
    500: '#2f142e',
    950: '#000000',
  },
}
SCSS
$custom: #2f142e;
$custom-light: #685266;
$custom-dark: #000000;
JSON
{
  "hex": "#2f142e",
  "rgb": {
    "r": 47,
    "g": 20,
    "b": 46
  },
  "hsl": {
    "h": 302.222,
    "s": 40.299,
    "l": 13.137
  },
  "oklch": {
    "l": 0.24283,
    "c": 0.06048,
    "h": 328.6
  },
  "luminance": 0.01302
}

Semantic roles & 50–950 ramp

primary
#2F142E
secondary
#39663B
accent
#D05C58
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2F142E

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

Preview Lab → · Contrast checker → · Palette generator →

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