#2F0E2C#2F0E2C

#2F0E2C is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.1% C 0.070 H 331.2°. Best body text is #FFFFFF at 17.21:1 contrast (WCAG AA passes).

Color values

HEX#2F0E2C
RGBrgb(47, 14, 44)
HSLhsl(305, 54%, 12%)
HSVhsv(305, 70%, 18%)
CMYKcmyk(0%, 70.2%, 6.4%, 81.6%)
CIE-LABlab(9.80, 21.66, -12.37)
CIE-LCHlch(9.80, 24.94, 330.28°)
OKLaboklab(23.15% 0.0617 -0.0338)
OKLCHoklch(23.15% 0.07 331.2)
XYZxyz(1.7839, 1.1004, 2.5008)
Luminance0.0110 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0E2C #0E2F11
analogous
#220E2F #2F0E2C #2F0E1C
triadic
#2F0E2C #2C2F0E #0E2C2F
tetradic
#2F0E2C #2F220E #0E2F11 #0E1C2F
square
#2F0E2C #2F220E #0E2F11 #0E1C2F
split-complementary
#2F0E2C #1C2F0E #0E2F22
monochromatic
#180716 #180716 #2F0E2C #5E1C58 #8D2A84

Accessibility & contrast

On white

17.21
#2F0E2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#2F0E2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0E2C
17.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0E2C#FFFFFF#000000##FFFFFF
##2F0E2C1.0017.211.2217.21
#FFFFFF17.211.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C182D
Deuteranopia (green-blind)
#171D2B
Tritanopia (blue-blind)
#31111B
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2f0e2c;
/* rgb */ color: rgb(47, 14, 44);
/* oklch */ color: oklch(23.1% 0.070 331.2);
Tailwind
colors: {
  custom: {
    50: '#694f65',
    500: '#2f0e2c',
    950: '#000000',
  },
}
SCSS
$custom: #2f0e2c;
$custom-light: #694f65;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0e2c",
  "rgb": {
    "r": 47,
    "g": 14,
    "b": 44
  },
  "hsl": {
    "h": 305.455,
    "s": 54.098,
    "l": 11.961
  },
  "oklch": {
    "l": 0.23148,
    "c": 0.07037,
    "h": 331.2
  },
  "luminance": 0.011
}

Semantic roles & 50–950 ramp

primary
#2F0E2C
secondary
#2F6935
accent
#DD584A
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060205
muted
#7A787A

Preview Lab

Preview with #2F0E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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