#2F0F2F#2F0F2F

#2F0F2F is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.5% C 0.072 H 327.6°. Best body text is #FFFFFF at 17.07:1 contrast (WCAG AA passes).

Color values

HEX#2F0F2F
RGBrgb(47, 15, 47)
HSLhsl(300, 52%, 12%)
HSVhsv(300, 68%, 18%)
CMYKcmyk(0%, 68.1%, 0%, 81.6%)
CIE-LABlab(10.19, 21.75, -13.97)
CIE-LCHlch(10.19, 25.84, 327.29°)
OKLaboklab(23.49% 0.0605 -0.0385)
OKLCHoklch(23.49% 0.072 327.6)
XYZxyz(1.8562, 1.1513, 2.8132)
Luminance0.0115 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0F2F #0F2F0F
analogous
#1F0F2F #2F0F2F #2F0F1F
triadic
#2F0F2F #2F2F0F #0F2F2F
tetradic
#2F0F2F #2F1F0F #0F2F0F #0F1F2F
square
#2F0F2F #2F1F0F #0F2F0F #0F1F2F
split-complementary
#2F0F2F #1F2F0F #0F2F1F
monochromatic
#170717 #170717 #2F0F2F #5D1E5D #8C2D8C

Accessibility & contrast

On white

17.07
#2F0F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#2F0F2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0F2F
17.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0F2F#FFFFFF#000000##FFFFFF
##2F0F2F1.0017.071.2317.07
#FFFFFF17.071.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1930
Deuteranopia (green-blind)
#161D2E
Tritanopia (blue-blind)
#31131D
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2f0f2f;
/* rgb */ color: rgb(47, 15, 47);
/* oklch */ color: oklch(23.5% 0.072 327.6);
Tailwind
colors: {
  custom: {
    50: '#694f67',
    500: '#2f0f2f',
    950: '#000000',
  },
}
SCSS
$custom: #2f0f2f;
$custom-light: #694f67;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0f2f",
  "rgb": {
    "r": 47,
    "g": 15,
    "b": 47
  },
  "hsl": {
    "h": 300,
    "s": 51.613,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23494,
    "c": 0.0717,
    "h": 327.6
  },
  "luminance": 0.01151
}

Semantic roles & 50–950 ramp

primary
#2F0F2F
secondary
#316931
accent
#DB4D4D
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2F0F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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