#2F0F2C#2F0F2C

#2F0F2C is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.3% C 0.068 H 331.3°. Best body text is #FFFFFF at 17.13:1 contrast (WCAG AA passes).

Color values

HEX#2F0F2C
RGBrgb(47, 15, 44)
HSLhsl(306, 52%, 12%)
HSVhsv(306, 68%, 18%)
CMYKcmyk(0%, 68.1%, 6.4%, 81.6%)
CIE-LABlab(10.02, 21.08, -12.03)
CIE-LCHlch(10.02, 24.27, 330.29°)
OKLaboklab(23.31% 0.06 -0.0329)
OKLCHoklch(23.31% 0.068 331.3)
XYZxyz(1.7977, 1.1280, 2.5054)
Luminance0.0113 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0F2C #0F2F12
analogous
#220F2F #2F0F2C #2F0F1C
triadic
#2F0F2C #2C2F0F #0F2C2F
tetradic
#2F0F2C #2F220F #0F2F12 #0F1C2F
square
#2F0F2C #2F220F #0F2F12 #0F1C2F
split-complementary
#2F0F2C #1C2F0F #0F2F22
monochromatic
#170716 #170716 #2F0F2C #5D1E57 #8C2D83

Accessibility & contrast

On white

17.13
#2F0F2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0F2C
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0F2C#FFFFFF#000000##FFFFFF
##2F0F2C1.0017.131.2317.13
#FFFFFF17.131.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f0f2c;
/* rgb */ color: rgb(47, 15, 44);
/* oklch */ color: oklch(23.3% 0.068 331.3);
Tailwind
colors: {
  custom: {
    50: '#694f65',
    500: '#2f0f2c',
    950: '#000000',
  },
}
SCSS
$custom: #2f0f2c;
$custom-light: #694f65;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0f2c",
  "rgb": {
    "r": 47,
    "g": 15,
    "b": 44
  },
  "hsl": {
    "h": 305.625,
    "s": 51.613,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23305,
    "c": 0.06845,
    "h": 331.3
  },
  "luminance": 0.01128
}

Semantic roles & 50–950 ramp

primary
#2F0F2C
secondary
#316936
accent
#DB5A4D
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060205
muted
#7A787A

Preview Lab

Preview with #2F0F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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