#2F0E2D#2F0E2D

#2F0E2D is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.2% C 0.071 H 330.0°. Best body text is #FFFFFF at 17.19:1 contrast (WCAG AA passes).

Color values

HEX#2F0E2D
RGBrgb(47, 14, 45)
HSLhsl(304, 54%, 12%)
HSVhsv(304, 70%, 18%)
CMYKcmyk(0%, 70.2%, 4.3%, 81.6%)
CIE-LABlab(9.86, 21.88, -13.01)
CIE-LCHlch(9.86, 25.46, 329.26°)
OKLaboklab(23.21% 0.0619 -0.0357)
OKLCHoklch(23.21% 0.071 330)
XYZxyz(1.8030, 1.1080, 2.6010)
Luminance0.0111 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0E2D #0E2F10
analogous
#210E2F #2F0E2D #2F0E1D
triadic
#2F0E2D #2D2F0E #0E2D2F
tetradic
#2F0E2D #2F210E #0E2F10 #0E1D2F
square
#2F0E2D #2F210E #0E2F10 #0E1D2F
split-complementary
#2F0E2D #1D2F0E #0E2F21
monochromatic
#180717 #180717 #2F0E2D #5E1C5A #8D2A87

Accessibility & contrast

On white

17.19
#2F0E2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0E2D
17.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0E2D#FFFFFF#000000##FFFFFF
##2F0E2D1.0017.191.2217.19
#FFFFFF17.191.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C182E
Deuteranopia (green-blind)
#161D2C
Tritanopia (blue-blind)
#31111B
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2f0e2d;
/* rgb */ color: rgb(47, 14, 45);
/* oklch */ color: oklch(23.2% 0.071 330.0);
Tailwind
colors: {
  custom: {
    50: '#694f66',
    500: '#2f0e2d',
    950: '#000000',
  },
}
SCSS
$custom: #2f0e2d;
$custom-light: #694f66;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0e2d",
  "rgb": {
    "r": 47,
    "g": 14,
    "b": 45
  },
  "hsl": {
    "h": 303.636,
    "s": 54.098,
    "l": 11.961
  },
  "oklch": {
    "l": 0.23211,
    "c": 0.07142,
    "h": 330
  },
  "luminance": 0.01108
}

Semantic roles & 50–950 ramp

primary
#2F0E2D
secondary
#2F6933
accent
#DD534A
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060205
muted
#7A787A

Preview Lab

Preview with #2F0E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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