#2F132E#2F132E

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

Color values

HEX#2F132E
RGBrgb(47, 19, 46)
HSLhsl(302, 42%, 13%)
HSVhsv(302, 60%, 18%)
CMYKcmyk(0%, 59.6%, 2.1%, 81.6%)
CIE-LABlab(11.05, 19.08, -11.90)
CIE-LCHlch(11.05, 22.49, 328.05°)
OKLaboklab(24.1% 0.0534 -0.0326)
OKLCHoklch(24.1% 0.063 328.6)
XYZxyz(1.8983, 1.2674, 2.7289)
Luminance0.0127 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F132E #132F14
analogous
#22132F #2F132E #2F1320
triadic
#2F132E #2E2F13 #132E2F
tetradic
#2F132E #2F2213 #132F14 #13202F
square
#2F132E #2F2213 #132F14 #13202F
split-complementary
#2F132E #202F13 #132F22
monochromatic
#160915 #160915 #2F132E #5B2559 #863683

Accessibility & contrast

On white

16.75
#2F132E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F132E
16.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F132E#FFFFFF#000000##FFFFFF
##2F132E1.0016.751.2516.75
#FFFFFF16.751.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111B2F
Deuteranopia (green-blind)
#191F2D
Tritanopia (blue-blind)
#31161E
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2f132e;
/* rgb */ color: rgb(47, 19, 46);
/* oklch */ color: oklch(24.1% 0.063 328.6);
Tailwind
colors: {
  custom: {
    50: '#685266',
    500: '#2f132e',
    950: '#000000',
  },
}
SCSS
$custom: #2f132e;
$custom-light: #685266;
$custom-dark: #000000;
JSON
{
  "hex": "#2f132e",
  "rgb": {
    "r": 47,
    "g": 19,
    "b": 46
  },
  "hsl": {
    "h": 302.143,
    "s": 42.424,
    "l": 12.941
  },
  "oklch": {
    "l": 0.24103,
    "c": 0.06258,
    "h": 328.6
  },
  "luminance": 0.01267
}

Semantic roles & 50–950 ramp

primary
#2F132E
secondary
#376639
accent
#D25A56
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2F132E

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

Preview Lab → · Contrast checker → · Palette generator →

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