#2F0F2E#2F0F2E

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

Color values

HEX#2F0F2E
RGBrgb(47, 15, 46)
HSLhsl(302, 52%, 12%)
HSVhsv(302, 68%, 18%)
CMYKcmyk(0%, 68.1%, 2.1%, 81.6%)
CIE-LABlab(10.13, 21.52, -13.32)
CIE-LCHlch(10.13, 25.31, 328.24°)
OKLaboklab(23.43% 0.0604 -0.0366)
OKLCHoklch(23.43% 0.071 328.8)
XYZxyz(1.8362, 1.1434, 2.7082)
Luminance0.0114 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0F2E #0F2F10
analogous
#200F2F #2F0F2E #2F0F1E
triadic
#2F0F2E #2E2F0F #0F2E2F
tetradic
#2F0F2E #2F200F #0F2F10 #0F1E2F
square
#2F0F2E #2F200F #0F2F10 #0F1E2F
split-complementary
#2F0F2E #1E2F0F #0F2F20
monochromatic
#170717 #170717 #2F0F2E #5D1E5B #8C2D89

Accessibility & contrast

On white

17.09
#2F0F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#2F0F2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0F2E
17.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0F2E#FFFFFF#000000##FFFFFF
##2F0F2E1.0017.091.2317.09
#FFFFFF17.091.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C192F
Deuteranopia (green-blind)
#171D2D
Tritanopia (blue-blind)
#31121C
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2f0f2e;
/* rgb */ color: rgb(47, 15, 46);
/* oklch */ color: oklch(23.4% 0.071 328.8);
Tailwind
colors: {
  custom: {
    50: '#694f66',
    500: '#2f0f2e',
    950: '#000000',
  },
}
SCSS
$custom: #2f0f2e;
$custom-light: #694f66;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0f2e",
  "rgb": {
    "r": 47,
    "g": 15,
    "b": 46
  },
  "hsl": {
    "h": 301.875,
    "s": 51.613,
    "l": 12.157
  },
  "oklch": {
    "l": 0.2343,
    "c": 0.0706,
    "h": 328.8
  },
  "luminance": 0.01143
}

Semantic roles & 50–950 ramp

primary
#2F0F2E
secondary
#316933
accent
#DB514D
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2F0F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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