#2F132B#2F132B

#2F132B is a very dark, muted purple. Relative luminance 0.012; OKLCH L 23.9% C 0.059 H 332.9°. Best body text is #FFFFFF at 16.81:1 contrast (WCAG AA passes).

Color values

HEX#2F132B
RGBrgb(47, 19, 43)
HSLhsl(309, 42%, 13%)
HSVhsv(309, 60%, 18%)
CMYKcmyk(0%, 59.6%, 8.5%, 81.6%)
CIE-LABlab(10.88, 18.41, -9.95)
CIE-LCHlch(10.88, 20.93, 331.62°)
OKLaboklab(23.93% 0.0527 -0.027)
OKLCHoklch(23.93% 0.059 332.9)
XYZxyz(1.8412, 1.2446, 2.4283)
Luminance0.0124 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F132B #132F17
analogous
#25132F #2F132B #2F131D
triadic
#2F132B #2B2F13 #132B2F
tetradic
#2F132B #2F2513 #132F17 #131D2F
square
#2F132B #2F2513 #132F17 #131D2F
split-complementary
#2F132B #1D2F13 #132F25
monochromatic
#160914 #160914 #2F132B #5B2553 #86367B

Accessibility & contrast

On white

16.81
#2F132B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F132B
16.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F132B#FFFFFF#000000##FFFFFF
##2F132B1.0016.811.2516.81
#FFFFFF16.811.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121B2C
Deuteranopia (green-blind)
#1A1F2A
Tritanopia (blue-blind)
#31151D
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2f132b;
/* rgb */ color: rgb(47, 19, 43);
/* oklch */ color: oklch(23.9% 0.059 332.9);
Tailwind
colors: {
  custom: {
    50: '#685264',
    500: '#2f132b',
    950: '#000000',
  },
}
SCSS
$custom: #2f132b;
$custom-light: #685264;
$custom-dark: #000000;
JSON
{
  "hex": "#2f132b",
  "rgb": {
    "r": 47,
    "g": 19,
    "b": 43
  },
  "hsl": {
    "h": 308.571,
    "s": 42.424,
    "l": 12.941
  },
  "oklch": {
    "l": 0.23928,
    "c": 0.05923,
    "h": 332.9
  },
  "luminance": 0.01245
}

Semantic roles & 50–950 ramp

primary
#2F132B
secondary
#37663E
accent
#D26756
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060205
muted
#7A7879

Preview Lab

Preview with #2F132B

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

Preview Lab → · Contrast checker → · Palette generator →

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