#2F0D2F#2F0D2F

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

Color values

HEX#2F0D2F
RGBrgb(47, 13, 47)
HSLhsl(300, 57%, 12%)
HSVhsv(300, 72%, 18%)
CMYKcmyk(0%, 72.3%, 0%, 81.6%)
CIE-LABlab(9.78, 22.88, -14.62)
CIE-LCHlch(9.78, 27.15, 327.43°)
OKLaboklab(23.19% 0.0637 -0.0403)
OKLCHoklch(23.19% 0.075 327.7)
XYZxyz(1.8293, 1.0975, 2.8043)
Luminance0.0110 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0D2F #0D2F0D
analogous
#1E0D2F #2F0D2F #2F0D1E
triadic
#2F0D2F #2F2F0D #0D2F2F
tetradic
#2F0D2F #2F1E0D #0D2F0D #0D1E2F
square
#2F0D2F #2F1E0D #0D2F0D #0D1E2F
split-complementary
#2F0D2F #1E2F0D #0D2F1E
monochromatic
#180718 #180718 #2F0D2F #5F1A5F #8F288F

Accessibility & contrast

On white

17.22
#2F0D2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0D2F
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0D2F#FFFFFF#000000##FFFFFF
##2F0D2F1.0017.221.2217.22
#FFFFFF17.221.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091830
Deuteranopia (green-blind)
#151D2E
Tritanopia (blue-blind)
#31111C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2f0d2f;
/* rgb */ color: rgb(47, 13, 47);
/* oklch */ color: oklch(23.2% 0.075 327.7);
Tailwind
colors: {
  custom: {
    50: '#694e67',
    500: '#2f0d2f',
    950: '#000000',
  },
}
SCSS
$custom: #2f0d2f;
$custom-light: #694e67;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0d2f",
  "rgb": {
    "r": 47,
    "g": 13,
    "b": 47
  },
  "hsl": {
    "h": 300,
    "s": 56.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.23192,
    "c": 0.07539,
    "h": 327.7
  },
  "luminance": 0.01097
}

Semantic roles & 50–950 ramp

primary
#2F0D2F
secondary
#2E6A2E
accent
#E04848
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2F0D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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