#2F0F2B#2F0F2B

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

Color values

HEX#2F0F2B
RGBrgb(47, 15, 43)
HSLhsl(308, 52%, 12%)
HSVhsv(308, 68%, 18%)
CMYKcmyk(0%, 68.1%, 8.5%, 81.6%)
CIE-LABlab(9.96, 20.87, -11.38)
CIE-LCHlch(9.96, 23.78, 331.40°)
OKLaboklab(23.24% 0.0598 -0.031)
OKLCHoklch(23.24% 0.067 332.6)
XYZxyz(1.7792, 1.1205, 2.4076)
Luminance0.0112 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0F2B #0F2F13
analogous
#230F2F #2F0F2B #2F0F1B
triadic
#2F0F2B #2B2F0F #0F2B2F
tetradic
#2F0F2B #2F230F #0F2F13 #0F1B2F
square
#2F0F2B #2F230F #0F2F13 #0F1B2F
split-complementary
#2F0F2B #1B2F0F #0F2F23
monochromatic
#170715 #170715 #2F0F2B #5D1E55 #8C2D80

Accessibility & contrast

On white

17.16
#2F0F2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0F2B
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0F2B#FFFFFF#000000##FFFFFF
##2F0F2B1.0017.161.2217.16
#FFFFFF17.161.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E182C
Deuteranopia (green-blind)
#181D2A
Tritanopia (blue-blind)
#31111B
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2f0f2b;
/* rgb */ color: rgb(47, 15, 43);
/* oklch */ color: oklch(23.2% 0.067 332.6);
Tailwind
colors: {
  custom: {
    50: '#694f64',
    500: '#2f0f2b',
    950: '#000000',
  },
}
SCSS
$custom: #2f0f2b;
$custom-light: #694f64;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0f2b",
  "rgb": {
    "r": 47,
    "g": 15,
    "b": 43
  },
  "hsl": {
    "h": 307.5,
    "s": 51.613,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23244,
    "c": 0.0674,
    "h": 332.6
  },
  "luminance": 0.0112
}

Semantic roles & 50–950 ramp

primary
#2F0F2B
secondary
#316938
accent
#DB5F4D
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060205
muted
#7A787A

Preview Lab

Preview with #2F0F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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