#2F0F32#2F0F32

#2F0F32 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.7% C 0.075 H 324.2°. Best body text is #FFFFFF at 17.00:1 contrast (WCAG AA passes).

Color values

HEX#2F0F32
RGBrgb(47, 15, 50)
HSLhsl(295, 54%, 13%)
HSVhsv(295, 70%, 20%)
CMYKcmyk(6%, 70%, 0%, 80.4%)
CIE-LABlab(10.38, 22.43, -15.87)
CIE-LCHlch(10.38, 27.47, 324.73°)
OKLaboklab(23.69% 0.0609 -0.044)
OKLCHoklch(23.69% 0.075 324.2)
XYZxyz(1.9188, 1.1764, 3.1430)
Luminance0.0118 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0F32 #12320F
analogous
#1D0F32 #2F0F32 #320F23
triadic
#2F0F32 #322F0F #0F322F
tetradic
#2F0F32 #321D0F #12320F #0F2332
square
#2F0F32 #321D0F #12320F #0F2332
split-complementary
#2F0F32 #23320F #0F321D
monochromatic
#160718 #160718 #2F0F32 #5B1D61 #882B90

Accessibility & contrast

On white

17.00
#2F0F32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0F32
17.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0F32#FFFFFF#000000##FFFFFF
##2F0F321.0017.001.2417.00
#FFFFFF17.001.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF17.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091A33
Deuteranopia (green-blind)
#151E31
Tritanopia (blue-blind)
#30141E
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2f0f32;
/* rgb */ color: rgb(47, 15, 50);
/* oklch */ color: oklch(23.7% 0.075 324.2);
Tailwind
colors: {
  custom: {
    50: '#694f6a',
    500: '#2f0f32',
    950: '#000000',
  },
}
SCSS
$custom: #2f0f32;
$custom-light: #694f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0f32",
  "rgb": {
    "r": 47,
    "g": 15,
    "b": 50
  },
  "hsl": {
    "h": 294.857,
    "s": 53.846,
    "l": 12.745
  },
  "oklch": {
    "l": 0.23693,
    "c": 0.07507,
    "h": 324.2
  },
  "luminance": 0.01176
}

Semantic roles & 50–950 ramp

primary
#2F0F32
secondary
#366C31
accent
#DD4B57
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2F0F32

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

Preview Lab → · Contrast checker → · Palette generator →

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