#2F0F2D#2F0F2D

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

Color values

HEX#2F0F2D
RGBrgb(47, 15, 45)
HSLhsl(304, 52%, 12%)
HSVhsv(304, 68%, 18%)
CMYKcmyk(0%, 68.1%, 4.3%, 81.6%)
CIE-LABlab(10.07, 21.30, -12.68)
CIE-LCHlch(10.07, 24.79, 329.24°)
OKLaboklab(23.37% 0.0602 -0.0348)
OKLCHoklch(23.37% 0.07 330)
XYZxyz(1.8168, 1.1356, 2.6056)
Luminance0.0114 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0F2D #0F2F11
analogous
#210F2F #2F0F2D #2F0F1D
triadic
#2F0F2D #2D2F0F #0F2D2F
tetradic
#2F0F2D #2F210F #0F2F11 #0F1D2F
square
#2F0F2D #2F210F #0F2F11 #0F1D2F
split-complementary
#2F0F2D #1D2F0F #0F2F21
monochromatic
#170716 #170716 #2F0F2D #5D1E59 #8C2D86

Accessibility & contrast

On white

17.11
#2F0F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0F2D
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0F2D#FFFFFF#000000##FFFFFF
##2F0F2D1.0017.111.2317.11
#FFFFFF17.111.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f0f2d;
/* rgb */ color: rgb(47, 15, 45);
/* oklch */ color: oklch(23.4% 0.070 330.0);
Tailwind
colors: {
  custom: {
    50: '#694f66',
    500: '#2f0f2d',
    950: '#000000',
  },
}
SCSS
$custom: #2f0f2d;
$custom-light: #694f66;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0f2d",
  "rgb": {
    "r": 47,
    "g": 15,
    "b": 45
  },
  "hsl": {
    "h": 303.75,
    "s": 51.613,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23367,
    "c": 0.06952,
    "h": 330
  },
  "luminance": 0.01135
}

Semantic roles & 50–950 ramp

primary
#2F0F2D
secondary
#316935
accent
#DB564D
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060205
muted
#7A787A

Preview Lab

Preview with #2F0F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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