#2F1434#2F1434

#2F1434 is a very dark, moderate purple. Relative luminance 0.014; OKLCH L 24.7% C 0.068 H 321.2°. Best body text is #FFFFFF at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#2F1434
RGBrgb(47, 20, 52)
HSLhsl(291, 44%, 14%)
HSVhsv(291, 62%, 20%)
CMYKcmyk(9.6%, 61.5%, 0%, 79.6%)
CIE-LABlab(11.64, 19.87, -15.34)
CIE-LCHlch(11.64, 25.10, 322.33°)
OKLaboklab(24.66% 0.0528 -0.0425)
OKLCHoklch(24.66% 0.068 321.2)
XYZxyz(2.0422, 1.3527, 3.4017)
Luminance0.0135 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F1434 #193414
analogous
#1F1434 #2F1434 #341429
triadic
#2F1434 #342F14 #14342F
tetradic
#2F1434 #341F14 #193414 #142934
square
#2F1434 #341F14 #193414 #142934
split-complementary
#2F1434 #293414 #14341F
monochromatic
#140916 #140916 #2F1434 #572560 #7F368C

Accessibility & contrast

On white

16.53
#2F1434 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#2F1434 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F1434
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F1434#FFFFFF#000000##FFFFFF
##2F14341.0016.531.2716.53
#FFFFFF16.531.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1D35
Deuteranopia (green-blind)
#172033
Tritanopia (blue-blind)
#301821
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2f1434;
/* rgb */ color: rgb(47, 20, 52);
/* oklch */ color: oklch(24.7% 0.068 321.2);
Tailwind
colors: {
  custom: {
    50: '#68536b',
    500: '#2f1434',
    950: '#000000',
  },
}
SCSS
$custom: #2f1434;
$custom-light: #68536b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f1434",
  "rgb": {
    "r": 47,
    "g": 20,
    "b": 52
  },
  "hsl": {
    "h": 290.625,
    "s": 44.444,
    "l": 14.118
  },
  "oklch": {
    "l": 0.24656,
    "c": 0.06775,
    "h": 321.2
  },
  "luminance": 0.01353
}

Semantic roles & 50–950 ramp

primary
#2F1434
secondary
#406B38
accent
#D45468
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2F1434

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

Preview Lab → · Contrast checker → · Palette generator →

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