#2F0631#2F0631

#2F0631 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.4% C 0.089 H 326.0°. Best body text is #FFFFFF at 17.63:1 contrast (WCAG AA passes).

Color values

HEX#2F0631
RGBrgb(47, 6, 49)
HSLhsl(297, 78%, 11%)
HSVhsv(297, 88%, 19%)
CMYKcmyk(4.1%, 87.8%, 0%, 80.8%)
CIE-LABlab(8.62, 26.94, -17.92)
CIE-LCHlch(8.62, 32.35, 326.36°)
OKLaboklab(22.4% 0.0739 -0.0498)
OKLCHoklch(22.4% 0.089 326)
XYZxyz(1.7918, 0.9565, 2.9954)
Luminance0.0096 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0631 #083106
analogous
#190631 #2F0631 #31061D
triadic
#2F0631 #312F06 #06312F
tetradic
#2F0631 #311906 #083106 #061D31
square
#2F0631 #311906 #083106 #061D31
split-complementary
#2F0631 #1D3106 #063119
monochromatic
#1A031B #1A031B #2F0631 #630D68 #98139E

Accessibility & contrast

On white

17.63
#2F0631 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0631
17.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0631#FFFFFF#000000##FFFFFF
##2F06311.0017.631.1917.63
#FFFFFF17.631.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001532
Deuteranopia (green-blind)
#101B30
Tritanopia (blue-blind)
#300D1B
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2f0631;
/* rgb */ color: rgb(47, 6, 49);
/* oklch */ color: oklch(22.4% 0.089 326.0);
Tailwind
colors: {
  custom: {
    50: '#6a4b69',
    500: '#2f0631',
    950: '#000000',
  },
}
SCSS
$custom: #2f0631;
$custom-light: #6a4b69;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0631",
  "rgb": {
    "r": 47,
    "g": 6,
    "b": 49
  },
  "hsl": {
    "h": 297.209,
    "s": 78.182,
    "l": 10.784
  },
  "oklch": {
    "l": 0.22403,
    "c": 0.08917,
    "h": 326
  },
  "luminance": 0.00956
}

Semantic roles & 50–950 ramp

primary
#2F0631
secondary
#257221
accent
#F5333C
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2F0631

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

Preview Lab → · Contrast checker → · Palette generator →

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