#2F142F#2F142F

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

Color values

HEX#2F142F
RGBrgb(47, 20, 47)
HSLhsl(300, 40%, 13%)
HSVhsv(300, 57%, 18%)
CMYKcmyk(0%, 57.4%, 0%, 81.6%)
CIE-LABlab(11.35, 18.67, -12.16)
CIE-LCHlch(11.35, 22.28, 326.92°)
OKLaboklab(24.34% 0.0519 -0.0333)
OKLCHoklch(24.34% 0.062 327.3)
XYZxyz(1.9355, 1.3100, 2.8397)
Luminance0.0131 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F142F #142F14
analogous
#21142F #2F142F #2F1421
triadic
#2F142F #2F2F14 #142F2F
tetradic
#2F142F #2F2114 #142F14 #14212F
square
#2F142F #2F2114 #142F14 #14212F
split-complementary
#2F142F #212F14 #142F21
monochromatic
#150915 #150915 #2F142F #5A265A #853985

Accessibility & contrast

On white

16.64
#2F142F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F142F
16.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F142F#FFFFFF#000000##FFFFFF
##2F142F1.0016.641.2616.64
#FFFFFF16.641.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121C30
Deuteranopia (green-blind)
#191F2E
Tritanopia (blue-blind)
#30171F
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2f142f;
/* rgb */ color: rgb(47, 20, 47);
/* oklch */ color: oklch(24.3% 0.062 327.3);
Tailwind
colors: {
  custom: {
    50: '#685267',
    500: '#2f142f',
    950: '#000000',
  },
}
SCSS
$custom: #2f142f;
$custom-light: #685267;
$custom-dark: #000000;
JSON
{
  "hex": "#2f142f",
  "rgb": {
    "r": 47,
    "g": 20,
    "b": 47
  },
  "hsl": {
    "h": 300,
    "s": 40.299,
    "l": 13.137
  },
  "oklch": {
    "l": 0.24343,
    "c": 0.06165,
    "h": 327.3
  },
  "luminance": 0.0131
}

Semantic roles & 50–950 ramp

primary
#2F142F
secondary
#396639
accent
#D05858
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2F142F

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

Preview Lab → · Contrast checker → · Palette generator →

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