#2F0531#2F0531

#2F0531 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.3% C 0.091 H 326.1°. Best body text is #FFFFFF at 17.69:1 contrast (WCAG AA passes).

Color values

HEX#2F0531
RGBrgb(47, 5, 49)
HSLhsl(297, 81%, 11%)
HSVhsv(297, 90%, 19%)
CMYKcmyk(4.1%, 89.8%, 0%, 80.8%)
CIE-LABlab(8.44, 27.47, -18.22)
CIE-LCHlch(8.44, 32.97, 326.45°)
OKLaboklab(22.27% 0.0755 -0.0507)
OKLCHoklch(22.27% 0.091 326.1)
XYZxyz(1.7809, 0.9348, 2.9918)
Luminance0.0094 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0531 #073105
analogous
#190531 #2F0531 #31051D
triadic
#2F0531 #312F05 #05312F
tetradic
#2F0531 #311905 #073105 #051D31
square
#2F0531 #311905 #073105 #051D31
split-complementary
#2F0531 #1D3105 #053119
monochromatic
#1B031C #1B031C #2F0531 #640B69 #9A10A0

Accessibility & contrast

On white

17.69
#2F0531 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#2F0531 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0531
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0531#FFFFFF#000000##FFFFFF
##2F05311.0017.691.1917.69
#FFFFFF17.691.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f0531;
/* rgb */ color: rgb(47, 5, 49);
/* oklch */ color: oklch(22.3% 0.091 326.1);
Tailwind
colors: {
  custom: {
    50: '#6a4a69',
    500: '#2f0531',
    950: '#000000',
  },
}
SCSS
$custom: #2f0531;
$custom-light: #6a4a69;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0531",
  "rgb": {
    "r": 47,
    "g": 5,
    "b": 49
  },
  "hsl": {
    "h": 297.273,
    "s": 81.481,
    "l": 10.588
  },
  "oklch": {
    "l": 0.22269,
    "c": 0.0909,
    "h": 326.1
  },
  "luminance": 0.00935
}

Semantic roles & 50–950 ramp

primary
#2F0531
secondary
#23721F
accent
#F83039
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #2F0531

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

Preview Lab → · Contrast checker → · Palette generator →

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