#2F0F2A#2F0F2A

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

Color values

HEX#2F0F2A
RGBrgb(47, 15, 42)
HSLhsl(309, 52%, 12%)
HSVhsv(309, 68%, 18%)
CMYKcmyk(0%, 68.1%, 10.6%, 81.6%)
CIE-LABlab(9.90, 20.66, -10.73)
CIE-LCHlch(9.90, 23.28, 332.56°)
OKLaboklab(23.19% 0.0596 -0.0292)
OKLCHoklch(23.19% 0.066 333.9)
XYZxyz(1.7610, 1.1133, 2.3122)
Luminance0.0111 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0F2A #0F2F14
analogous
#240F2F #2F0F2A #2F0F1A
triadic
#2F0F2A #2A2F0F #0F2A2F
tetradic
#2F0F2A #2F240F #0F2F14 #0F1A2F
square
#2F0F2A #2F240F #0F2F14 #0F1A2F
split-complementary
#2F0F2A #1A2F0F #0F2F24
monochromatic
#170715 #170715 #2F0F2A #5D1E53 #8C2D7D

Accessibility & contrast

On white

17.18
#2F0F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0F2A
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0F2A#FFFFFF#000000##FFFFFF
##2F0F2A1.0017.181.2217.18
#FFFFFF17.181.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F182B
Deuteranopia (green-blind)
#181D29
Tritanopia (blue-blind)
#31111A
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2f0f2a;
/* rgb */ color: rgb(47, 15, 42);
/* oklch */ color: oklch(23.2% 0.066 333.9);
Tailwind
colors: {
  custom: {
    50: '#694f63',
    500: '#2f0f2a',
    950: '#000000',
  },
}
SCSS
$custom: #2f0f2a;
$custom-light: #694f63;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0f2a",
  "rgb": {
    "r": 47,
    "g": 15,
    "b": 42
  },
  "hsl": {
    "h": 309.375,
    "s": 51.613,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23185,
    "c": 0.06637,
    "h": 333.9
  },
  "luminance": 0.01113
}

Semantic roles & 50–950 ramp

primary
#2F0F2A
secondary
#31693A
accent
#DB634D
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060205
muted
#7A7879

Preview Lab

Preview with #2F0F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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