#2F0F34#2F0F34

#2F0F34 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.8% C 0.077 H 322.1°. Best body text is #FFFFFF at 16.95:1 contrast (WCAG AA passes).

Color values

HEX#2F0F34
RGBrgb(47, 15, 52)
HSLhsl(292, 55%, 13%)
HSVhsv(292, 71%, 20%)
CMYKcmyk(9.6%, 71.2%, 0%, 79.6%)
CIE-LABlab(10.51, 22.90, -17.11)
CIE-LCHlch(10.51, 28.59, 323.23°)
OKLaboklab(23.83% 0.061 -0.0476)
OKLCHoklch(23.83% 0.077 322.1)
XYZxyz(1.9629, 1.1940, 3.3752)
Luminance0.0119 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0F34 #14340F
analogous
#1C0F34 #2F0F34 #340F26
triadic
#2F0F34 #342F0F #0F342F
tetradic
#2F0F34 #341C0F #14340F #0F2634
square
#2F0F34 #341C0F #14340F #0F2634
split-complementary
#2F0F34 #26340F #0F341C
monochromatic
#150718 #150718 #2F0F34 #5A1D63 #852A93

Accessibility & contrast

On white

16.95
#2F0F34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#2F0F34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0F34
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0F34#FFFFFF#000000##FFFFFF
##2F0F341.0016.951.2416.95
#FFFFFF16.951.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081A35
Deuteranopia (green-blind)
#131E33
Tritanopia (blue-blind)
#30151F
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2f0f34;
/* rgb */ color: rgb(47, 15, 52);
/* oklch */ color: oklch(23.8% 0.077 322.1);
Tailwind
colors: {
  custom: {
    50: '#69506b',
    500: '#2f0f34',
    950: '#000000',
  },
}
SCSS
$custom: #2f0f34;
$custom-light: #69506b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0f34",
  "rgb": {
    "r": 47,
    "g": 15,
    "b": 52
  },
  "hsl": {
    "h": 291.892,
    "s": 55.224,
    "l": 13.137
  },
  "oklch": {
    "l": 0.23831,
    "c": 0.07736,
    "h": 322.1
  },
  "luminance": 0.01194
}

Semantic roles & 50–950 ramp

primary
#2F0F34
secondary
#396E31
accent
#DF495D
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2F0F34

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

Preview Lab → · Contrast checker → · Palette generator →

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