#2F0529#2F0529

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

Color values

HEX#2F0529
RGBrgb(47, 5, 41)
HSLhsl(309, 81%, 10%)
HSVhsv(309, 89%, 18%)
CMYKcmyk(0%, 89.4%, 12.8%, 81.6%)
CIE-LABlab(7.89, 25.90, -13.13)
CIE-LCHlch(7.89, 29.03, 333.12°)
OKLaboklab(21.7% 0.0754 -0.0359)
OKLCHoklch(21.7% 0.084 334.5)
XYZxyz(1.6268, 0.8731, 2.1802)
Luminance0.0087 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0529 #052F0B
analogous
#20052F #2F0529 #2F0514
triadic
#2F0529 #292F05 #05292F
tetradic
#2F0529 #2F2005 #052F0B #05142F
square
#2F0529 #2F2005 #052F0B #05142F
split-complementary
#2F0529 #142F05 #052F20
monochromatic
#1C0318 #1C0318 #2F0529 #660B59 #9E118A

Accessibility & contrast

On white

17.88
#2F0529 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0529
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0529#FFFFFF#000000##FFFFFF
##2F05291.0017.881.1717.88
#FFFFFF17.881.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05132A
Deuteranopia (green-blind)
#131A28
Tritanopia (blue-blind)
#320816
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2f0529;
/* rgb */ color: rgb(47, 5, 41);
/* oklch */ color: oklch(21.7% 0.084 334.5);
Tailwind
colors: {
  custom: {
    50: '#6a4a63',
    500: '#2f0529',
    950: '#000000',
  },
}
SCSS
$custom: #2f0529;
$custom-light: #6a4a63;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0529",
  "rgb": {
    "r": 47,
    "g": 5,
    "b": 41
  },
  "hsl": {
    "h": 308.571,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.21699,
    "c": 0.08352,
    "h": 334.5
  },
  "luminance": 0.00873
}

Semantic roles & 50–950 ramp

primary
#2F0529
secondary
#1F712B
accent
#F74D31
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#070105
muted
#7A7779

Preview Lab

Preview with #2F0529

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

Preview Lab → · Contrast checker → · Palette generator →

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