#2F132D#2F132D

#2F132D is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.0% C 0.061 H 330.0°. Best body text is #FFFFFF at 16.77:1 contrast (WCAG AA passes).

Color values

HEX#2F132D
RGBrgb(47, 19, 45)
HSLhsl(304, 42%, 13%)
HSVhsv(304, 60%, 18%)
CMYKcmyk(0%, 59.6%, 4.3%, 81.6%)
CIE-LABlab(10.99, 18.85, -11.25)
CIE-LCHlch(10.99, 21.95, 329.17°)
OKLaboklab(24.04% 0.0532 -0.0307)
OKLCHoklch(24.04% 0.061 330)
XYZxyz(1.8788, 1.2597, 2.6263)
Luminance0.0126 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F132D #132F15
analogous
#23132F #2F132D #2F131F
triadic
#2F132D #2D2F13 #132D2F
tetradic
#2F132D #2F2313 #132F15 #131F2F
square
#2F132D #2F2313 #132F15 #131F2F
split-complementary
#2F132D #1F2F13 #132F23
monochromatic
#160915 #160915 #2F132D #5B2557 #863680

Accessibility & contrast

On white

16.77
#2F132D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#2F132D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F132D
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F132D#FFFFFF#000000##FFFFFF
##2F132D1.0016.771.2516.77
#FFFFFF16.771.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111B2E
Deuteranopia (green-blind)
#1A1F2C
Tritanopia (blue-blind)
#31151D
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2f132d;
/* rgb */ color: rgb(47, 19, 45);
/* oklch */ color: oklch(24.0% 0.061 330.0);
Tailwind
colors: {
  custom: {
    50: '#685266',
    500: '#2f132d',
    950: '#000000',
  },
}
SCSS
$custom: #2f132d;
$custom-light: #685266;
$custom-dark: #000000;
JSON
{
  "hex": "#2f132d",
  "rgb": {
    "r": 47,
    "g": 19,
    "b": 45
  },
  "hsl": {
    "h": 304.286,
    "s": 42.424,
    "l": 12.941
  },
  "oklch": {
    "l": 0.24043,
    "c": 0.06144,
    "h": 330
  },
  "luminance": 0.0126
}

Semantic roles & 50–950 ramp

primary
#2F132D
secondary
#37663B
accent
#D25E56
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060205
muted
#7A787A

Preview Lab

Preview with #2F132D

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

Preview Lab → · Contrast checker → · Palette generator →

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