#2F0D2E#2F0D2E

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

Color values

HEX#2F0D2E
RGBrgb(47, 13, 46)
HSLhsl(302, 57%, 12%)
HSVhsv(302, 72%, 18%)
CMYKcmyk(0%, 72.3%, 2.1%, 81.6%)
CIE-LABlab(9.72, 22.66, -13.98)
CIE-LCHlch(9.72, 26.62, 328.33°)
OKLaboklab(23.13% 0.0636 -0.0385)
OKLCHoklch(23.13% 0.074 328.8)
XYZxyz(1.8093, 1.0896, 2.6992)
Luminance0.0109 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0D2E #0D2F0E
analogous
#1F0D2F #2F0D2E #2F0D1D
triadic
#2F0D2E #2E2F0D #0D2E2F
tetradic
#2F0D2E #2F1F0D #0D2F0E #0D1D2F
square
#2F0D2E #2F1F0D #0D2F0E #0D1D2F
split-complementary
#2F0D2E #1D2F0D #0D2F1F
monochromatic
#180717 #180717 #2F0D2E #5F1A5D #8F288C

Accessibility & contrast

On white

17.24
#2F0D2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0D2E
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0D2E#FFFFFF#000000##FFFFFF
##2F0D2E1.0017.241.2217.24
#FFFFFF17.241.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A182F
Deuteranopia (green-blind)
#151D2D
Tritanopia (blue-blind)
#31111B
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2f0d2e;
/* rgb */ color: rgb(47, 13, 46);
/* oklch */ color: oklch(23.1% 0.074 328.8);
Tailwind
colors: {
  custom: {
    50: '#694e67',
    500: '#2f0d2e',
    950: '#000000',
  },
}
SCSS
$custom: #2f0d2e;
$custom-light: #694e67;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0d2e",
  "rgb": {
    "r": 47,
    "g": 13,
    "b": 46
  },
  "hsl": {
    "h": 301.765,
    "s": 56.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.23126,
    "c": 0.07433,
    "h": 328.8
  },
  "luminance": 0.01089
}

Semantic roles & 50–950 ramp

primary
#2F0D2E
secondary
#2E6A30
accent
#E04C48
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2F0D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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