#2F0D2B#2F0D2B

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

Color values

HEX#2F0D2B
RGBrgb(47, 13, 43)
HSLhsl(307, 57%, 12%)
HSVhsv(307, 72%, 18%)
CMYKcmyk(0%, 72.3%, 8.5%, 81.6%)
CIE-LABlab(9.54, 22.02, -12.04)
CIE-LCHlch(9.54, 25.10, 331.33°)
OKLaboklab(22.94% 0.0632 -0.0329)
OKLCHoklch(22.94% 0.071 332.5)
XYZxyz(1.7523, 1.0667, 2.3986)
Luminance0.0107 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0D2B #0D2F11
analogous
#220D2F #2F0D2B #2F0D1A
triadic
#2F0D2B #2B2F0D #0D2B2F
tetradic
#2F0D2B #2F220D #0D2F11 #0D1A2F
square
#2F0D2B #2F220D #0D2F11 #0D1A2F
split-complementary
#2F0D2B #1A2F0D #0D2F22
monochromatic
#180716 #180716 #2F0D2B #5F1A57 #8F2883

Accessibility & contrast

On white

17.31
#2F0D2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2F0D2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0D2B
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0D2B#FFFFFF#000000##FFFFFF
##2F0D2B1.0017.311.2117.31
#FFFFFF17.311.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C172C
Deuteranopia (green-blind)
#171C2A
Tritanopia (blue-blind)
#31101A
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2f0d2b;
/* rgb */ color: rgb(47, 13, 43);
/* oklch */ color: oklch(22.9% 0.071 332.5);
Tailwind
colors: {
  custom: {
    50: '#694e64',
    500: '#2f0d2b',
    950: '#000000',
  },
}
SCSS
$custom: #2f0d2b;
$custom-light: #694e64;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0d2b",
  "rgb": {
    "r": 47,
    "g": 13,
    "b": 43
  },
  "hsl": {
    "h": 307.059,
    "s": 56.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22935,
    "c": 0.07121,
    "h": 332.5
  },
  "luminance": 0.01067
}

Semantic roles & 50–950 ramp

primary
#2F0D2B
secondary
#2E6A35
accent
#E05A48
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060105
muted
#7A777A

Preview Lab

Preview with #2F0D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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