#2F0D32#2F0D32

#2F0D32 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.4% C 0.079 H 324.4°. Best body text is #FFFFFF at 17.15:1 contrast (WCAG AA passes).

Color values

HEX#2F0D32
RGBrgb(47, 13, 50)
HSLhsl(295, 59%, 12%)
HSVhsv(295, 74%, 20%)
CMYKcmyk(6%, 74%, 0%, 80.4%)
CIE-LABlab(9.97, 23.55, -16.51)
CIE-LCHlch(9.97, 28.76, 324.97°)
OKLaboklab(23.4% 0.064 -0.0458)
OKLCHoklch(23.4% 0.079 324.4)
XYZxyz(1.8919, 1.1226, 3.1340)
Luminance0.0112 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0D32 #10320D
analogous
#1D0D32 #2F0D32 #320D23
triadic
#2F0D32 #322F0D #0D322F
tetradic
#2F0D32 #321D0D #10320D #0D2332
square
#2F0D32 #321D0D #10320D #0D2332
split-complementary
#2F0D32 #23320D #0D321D
monochromatic
#170618 #170618 #2F0D32 #5D1A63 #8A2693

Accessibility & contrast

On white

17.15
#2F0D32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0D32
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0D32#FFFFFF#000000##FFFFFF
##2F0D321.0017.151.2217.15
#FFFFFF17.151.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071933
Deuteranopia (green-blind)
#131D31
Tritanopia (blue-blind)
#30121D
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2f0d32;
/* rgb */ color: rgb(47, 13, 50);
/* oklch */ color: oklch(23.4% 0.079 324.4);
Tailwind
colors: {
  custom: {
    50: '#694e6a',
    500: '#2f0d32',
    950: '#000000',
  },
}
SCSS
$custom: #2f0d32;
$custom-light: #694e6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0d32",
  "rgb": {
    "r": 47,
    "g": 13,
    "b": 50
  },
  "hsl": {
    "h": 295.135,
    "s": 58.73,
    "l": 12.353
  },
  "oklch": {
    "l": 0.23396,
    "c": 0.07866,
    "h": 324.4
  },
  "luminance": 0.01122
}

Semantic roles & 50–950 ramp

primary
#2F0D32
secondary
#336D2E
accent
#E24653
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2F0D32

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

Preview Lab → · Contrast checker → · Palette generator →

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