#2F0E2F#2F0E2F

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

Color values

HEX#2F0E2F
RGBrgb(47, 14, 47)
HSLhsl(300, 54%, 12%)
HSVhsv(300, 70%, 18%)
CMYKcmyk(0%, 70.2%, 0%, 81.6%)
CIE-LABlab(9.98, 22.32, -14.30)
CIE-LCHlch(9.98, 26.50, 327.36°)
OKLaboklab(23.34% 0.0621 -0.0394)
OKLCHoklch(23.34% 0.074 327.6)
XYZxyz(1.8424, 1.1238, 2.8086)
Luminance0.0112 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0E2F #0E2F0E
analogous
#1F0E2F #2F0E2F #2F0E1F
triadic
#2F0E2F #2F2F0E #0E2F2F
tetradic
#2F0E2F #2F1F0E #0E2F0E #0E1F2F
square
#2F0E2F #2F1F0E #0E2F0E #0E1F2F
split-complementary
#2F0E2F #1F2F0E #0E2F1F
monochromatic
#180718 #180718 #2F0E2F #5E1C5E #8D2A8D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F0E2F#FFFFFF#000000##FFFFFF
##2F0E2F1.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)
#0A1930
Deuteranopia (green-blind)
#151D2E
Tritanopia (blue-blind)
#31121C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2f0e2f;
/* rgb */ color: rgb(47, 14, 47);
/* oklch */ color: oklch(23.3% 0.074 327.6);
Tailwind
colors: {
  custom: {
    50: '#694f67',
    500: '#2f0e2f',
    950: '#000000',
  },
}
SCSS
$custom: #2f0e2f;
$custom-light: #694f67;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0e2f",
  "rgb": {
    "r": 47,
    "g": 14,
    "b": 47
  },
  "hsl": {
    "h": 300,
    "s": 54.098,
    "l": 11.961
  },
  "oklch": {
    "l": 0.2334,
    "c": 0.07357,
    "h": 327.6
  },
  "luminance": 0.01124
}

Semantic roles & 50–950 ramp

primary
#2F0E2F
secondary
#2F692F
accent
#DD4A4A
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2F0E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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