#2F0E30#2F0E30

#2F0E30 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.4% C 0.075 H 326.5°. Best body text is #FFFFFF at 17.12:1 contrast (WCAG AA passes).

Color values

HEX#2F0E30
RGBrgb(47, 14, 48)
HSLhsl(298, 55%, 12%)
HSVhsv(298, 71%, 19%)
CMYKcmyk(2.1%, 70.8%, 0%, 81.2%)
CIE-LABlab(10.05, 22.54, -14.93)
CIE-LCHlch(10.05, 27.04, 326.48°)
OKLaboklab(23.41% 0.0622 -0.0412)
OKLCHoklch(23.41% 0.075 326.5)
XYZxyz(1.8628, 1.1319, 2.9161)
Luminance0.0113 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0E30 #0F300E
analogous
#1E0E30 #2F0E30 #300E20
triadic
#2F0E30 #302F0E #0E302F
tetradic
#2F0E30 #301E0E #0F300E #0E2030
square
#2F0E30 #301E0E #0F300E #0E2030
split-complementary
#2F0E30 #20300E #0E301E
monochromatic
#170718 #170718 #2F0E30 #5D1C5F #8C2A8F

Accessibility & contrast

On white

17.12
#2F0E30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0E30
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0E30#FFFFFF#000000##FFFFFF
##2F0E301.0017.121.2317.12
#FFFFFF17.121.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1931
Deuteranopia (green-blind)
#151D2F
Tritanopia (blue-blind)
#30121D
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2f0e30;
/* rgb */ color: rgb(47, 14, 48);
/* oklch */ color: oklch(23.4% 0.075 326.5);
Tailwind
colors: {
  custom: {
    50: '#694f68',
    500: '#2f0e30',
    950: '#000000',
  },
}
SCSS
$custom: #2f0e30;
$custom-light: #694f68;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0e30",
  "rgb": {
    "r": 47,
    "g": 14,
    "b": 48
  },
  "hsl": {
    "h": 298.235,
    "s": 54.839,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23406,
    "c": 0.07466,
    "h": 326.5
  },
  "luminance": 0.01132
}

Semantic roles & 50–950 ramp

primary
#2F0E30
secondary
#316A2F
accent
#DE4A4E
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2F0E30

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

Preview Lab → · Contrast checker → · Palette generator →

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