#2F0431#2F0431

#2F0431 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.1% C 0.093 H 326.2°. Best body text is #FFFFFF at 17.76:1 contrast (WCAG AA passes).

Color values

HEX#2F0431
RGBrgb(47, 4, 49)
HSLhsl(297, 85%, 10%)
HSVhsv(297, 92%, 19%)
CMYKcmyk(4.1%, 91.8%, 0%, 80.8%)
CIE-LABlab(8.24, 28.03, -18.53)
CIE-LCHlch(8.24, 33.60, 326.54°)
OKLaboklab(22.13% 0.077 -0.0516)
OKLCHoklch(22.13% 0.093 326.2)
XYZxyz(1.7700, 0.9130, 2.9881)
Luminance0.0091 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0431 #063104
analogous
#180431 #2F0431 #31041C
triadic
#2F0431 #312F04 #04312F
tetradic
#2F0431 #311804 #063104 #041C31
square
#2F0431 #311804 #063104 #041C31
split-complementary
#2F0431 #1C3104 #043118
monochromatic
#1B021C #1B021C #2F0431 #65096A #9C0DA2

Accessibility & contrast

On white

17.76
#2F0431 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0431
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0431#FFFFFF#000000##FFFFFF
##2F04311.0017.761.1817.76
#FFFFFF17.761.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001532
Deuteranopia (green-blind)
#0E1A30
Tritanopia (blue-blind)
#300B1A
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2f0431;
/* rgb */ color: rgb(47, 4, 49);
/* oklch */ color: oklch(22.1% 0.093 326.2);
Tailwind
colors: {
  custom: {
    50: '#6a4969',
    500: '#2f0431',
    950: '#000000',
  },
}
SCSS
$custom: #2f0431;
$custom-light: #6a4969;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0431",
  "rgb": {
    "r": 47,
    "g": 4,
    "b": 49
  },
  "hsl": {
    "h": 297.333,
    "s": 84.906,
    "l": 10.392
  },
  "oklch": {
    "l": 0.22134,
    "c": 0.09267,
    "h": 326.2
  },
  "luminance": 0.00913
}

Semantic roles & 50–950 ramp

primary
#2F0431
secondary
#21731D
accent
#FB2D36
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #2F0431

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

Preview Lab → · Contrast checker → · Palette generator →

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