#2F042E#2F042E

#2F042E is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.9% C 0.090 H 329.1°. Best body text is #FFFFFF at 17.83:1 contrast (WCAG AA passes).

Color values

HEX#2F042E
RGBrgb(47, 4, 46)
HSLhsl(301, 84%, 10%)
HSVhsv(301, 91%, 18%)
CMYKcmyk(0%, 91.5%, 2.1%, 81.6%)
CIE-LABlab(8.03, 27.42, -16.65)
CIE-LCHlch(8.03, 32.08, 328.74°)
OKLaboklab(21.91% 0.0772 -0.0461)
OKLCHoklch(21.91% 0.09 329.1)
XYZxyz(1.7088, 0.8886, 2.6657)
Luminance0.0089 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F042E #042F05
analogous
#1A042F #2F042E #2F0419
triadic
#2F042E #2E2F04 #042E2F
tetradic
#2F042E #2F1A04 #042F05 #04192F
square
#2F042E #2F1A04 #042F05 #04192F
split-complementary
#2F042E #192F04 #042F1A
monochromatic
#1C021C #1C021C #2F042E #670965 #A00E9C

Accessibility & contrast

On white

17.83
#2F042E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#2F042E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F042E
17.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F042E#FFFFFF#000000##FFFFFF
##2F042E1.0017.831.1817.83
#FFFFFF17.831.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00142F
Deuteranopia (green-blind)
#101A2D
Tritanopia (blue-blind)
#310A18
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2f042e;
/* rgb */ color: rgb(47, 4, 46);
/* oklch */ color: oklch(21.9% 0.090 329.1);
Tailwind
colors: {
  custom: {
    50: '#6a4967',
    500: '#2f042e',
    950: '#000000',
  },
}
SCSS
$custom: #2f042e;
$custom-light: #6a4967;
$custom-dark: #000000;
JSON
{
  "hex": "#2f042e",
  "rgb": {
    "r": 47,
    "g": 4,
    "b": 46
  },
  "hsl": {
    "h": 301.395,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.21908,
    "c": 0.08989,
    "h": 329.1
  },
  "luminance": 0.00888
}

Semantic roles & 50–950 ramp

primary
#2F042E
secondary
#1D721F
accent
#FB322D
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #2F042E

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

Preview Lab → · Contrast checker → · Palette generator →

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