#2F0429#2F0429

#2F0429 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.6% C 0.085 H 334.5°. Best body text is #FFFFFF at 17.95:1 contrast (WCAG AA passes).

Color values

HEX#2F0429
RGBrgb(47, 4, 41)
HSLhsl(308, 84%, 10%)
HSVhsv(308, 91%, 18%)
CMYKcmyk(0%, 91.5%, 12.8%, 81.6%)
CIE-LABlab(7.69, 26.45, -13.43)
CIE-LCHlch(7.69, 29.67, 333.08°)
OKLaboklab(21.56% 0.0771 -0.0368)
OKLCHoklch(21.56% 0.085 334.5)
XYZxyz(1.6160, 0.8514, 2.1766)
Luminance0.0085 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0429 #042F0A
analogous
#1F042F #2F0429 #2F0414
triadic
#2F0429 #292F04 #04292F
tetradic
#2F0429 #2F1F04 #042F0A #04142F
square
#2F0429 #2F1F04 #042F0A #04142F
split-complementary
#2F0429 #142F04 #042F1F
monochromatic
#1C0219 #1C0219 #2F0429 #67095A #A00E8B

Accessibility & contrast

On white

17.95
#2F0429 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#2F0429 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0429
17.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0429#FFFFFF#000000##FFFFFF
##2F04291.0017.951.1717.95
#FFFFFF17.951.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04132A
Deuteranopia (green-blind)
#131928
Tritanopia (blue-blind)
#320715
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2f0429;
/* rgb */ color: rgb(47, 4, 41);
/* oklch */ color: oklch(21.6% 0.085 334.5);
Tailwind
colors: {
  custom: {
    50: '#6a4963',
    500: '#2f0429',
    950: '#000000',
  },
}
SCSS
$custom: #2f0429;
$custom-light: #6a4963;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0429",
  "rgb": {
    "r": 47,
    "g": 4,
    "b": 41
  },
  "hsl": {
    "h": 308.372,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.21556,
    "c": 0.08544,
    "h": 334.5
  },
  "luminance": 0.00851
}

Semantic roles & 50–950 ramp

primary
#2F0429
secondary
#1D7229
accent
#FB4A2D
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#070105
muted
#7A7779

Preview Lab

Preview with #2F0429

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

Preview Lab → · Contrast checker → · Palette generator →

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