#2F0E2B#2F0E2B

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

Color values

HEX#2F0E2B
RGBrgb(47, 14, 43)
HSLhsl(307, 54%, 12%)
HSVhsv(307, 70%, 18%)
CMYKcmyk(0%, 70.2%, 8.5%, 81.6%)
CIE-LABlab(9.74, 21.45, -11.71)
CIE-LCHlch(9.74, 24.44, 331.36°)
OKLaboklab(23.09% 0.0615 -0.032)
OKLCHoklch(23.09% 0.069 332.5)
XYZxyz(1.7654, 1.0930, 2.4030)
Luminance0.0109 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0E2B #0E2F12
analogous
#230E2F #2F0E2B #2F0E1B
triadic
#2F0E2B #2B2F0E #0E2B2F
tetradic
#2F0E2B #2F230E #0E2F12 #0E1B2F
square
#2F0E2B #2F230E #0E2F12 #0E1B2F
split-complementary
#2F0E2B #1B2F0E #0E2F23
monochromatic
#180716 #180716 #2F0E2B #5E1C56 #8D2A81

Accessibility & contrast

On white

17.23
#2F0E2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0E2B
17.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0E2B#FFFFFF#000000##FFFFFF
##2F0E2B1.0017.231.2217.23
#FFFFFF17.231.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D182C
Deuteranopia (green-blind)
#171D2A
Tritanopia (blue-blind)
#31111A
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2f0e2b;
/* rgb */ color: rgb(47, 14, 43);
/* oklch */ color: oklch(23.1% 0.069 332.5);
Tailwind
colors: {
  custom: {
    50: '#694f64',
    500: '#2f0e2b',
    950: '#000000',
  },
}
SCSS
$custom: #2f0e2b;
$custom-light: #694f64;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0e2b",
  "rgb": {
    "r": 47,
    "g": 14,
    "b": 43
  },
  "hsl": {
    "h": 307.273,
    "s": 54.098,
    "l": 11.961
  },
  "oklch": {
    "l": 0.23087,
    "c": 0.06933,
    "h": 332.5
  },
  "luminance": 0.01093
}

Semantic roles & 50–950 ramp

primary
#2F0E2B
secondary
#2F6936
accent
#DD5C4A
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060205
muted
#7A787A

Preview Lab

Preview with #2F0E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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