#2F0D2C#2F0D2C

#2F0D2C is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.0% C 0.072 H 331.2°. Best body text is #FFFFFF at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#2F0D2C
RGBrgb(47, 13, 44)
HSLhsl(305, 57%, 12%)
HSVhsv(305, 72%, 18%)
CMYKcmyk(0%, 72.3%, 6.4%, 81.6%)
CIE-LABlab(9.59, 22.23, -12.69)
CIE-LCHlch(9.59, 25.59, 330.28°)
OKLaboklab(23% 0.0633 -0.0348)
OKLCHoklch(23% 0.072 331.2)
XYZxyz(1.7708, 1.0742, 2.4964)
Luminance0.0107 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0D2C #0D2F10
analogous
#210D2F #2F0D2C #2F0D1B
triadic
#2F0D2C #2C2F0D #0D2C2F
tetradic
#2F0D2C #2F210D #0D2F10 #0D1B2F
square
#2F0D2C #2F210D #0D2F10 #0D1B2F
split-complementary
#2F0D2C #1B2F0D #0D2F21
monochromatic
#180716 #180716 #2F0D2C #5F1A59 #8F2886

Accessibility & contrast

On white

17.29
#2F0D2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0D2C
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0D2C#FFFFFF#000000##FFFFFF
##2F0D2C1.0017.291.2117.29
#FFFFFF17.291.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B182D
Deuteranopia (green-blind)
#161C2B
Tritanopia (blue-blind)
#31101A
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2f0d2c;
/* rgb */ color: rgb(47, 13, 44);
/* oklch */ color: oklch(23.0% 0.072 331.2);
Tailwind
colors: {
  custom: {
    50: '#694e65',
    500: '#2f0d2c',
    950: '#000000',
  },
}
SCSS
$custom: #2f0d2c;
$custom-light: #694e65;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0d2c",
  "rgb": {
    "r": 47,
    "g": 13,
    "b": 44
  },
  "hsl": {
    "h": 305.294,
    "s": 56.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22997,
    "c": 0.07223,
    "h": 331.2
  },
  "luminance": 0.01074
}

Semantic roles & 50–950 ramp

primary
#2F0D2C
secondary
#2E6A33
accent
#E05548
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060205
muted
#7A787A

Preview Lab

Preview with #2F0D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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