#2F0F31#2F0F31

#2F0F31 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.6% C 0.074 H 325.3°. Best body text is #FFFFFF at 17.02:1 contrast (WCAG AA passes).

Color values

HEX#2F0F31
RGBrgb(47, 15, 49)
HSLhsl(296, 53%, 13%)
HSVhsv(296, 69%, 19%)
CMYKcmyk(4.1%, 69.4%, 0%, 80.8%)
CIE-LABlab(10.32, 22.20, -15.24)
CIE-LCHlch(10.32, 26.92, 325.54°)
OKLaboklab(23.63% 0.0608 -0.0421)
OKLCHoklch(23.63% 0.074 325.3)
XYZxyz(1.8974, 1.1678, 3.0306)
Luminance0.0117 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0F31 #11310F
analogous
#1E0F31 #2F0F31 #310F22
triadic
#2F0F31 #312F0F #0F312F
tetradic
#2F0F31 #311E0F #11310F #0F2231
square
#2F0F31 #311E0F #11310F #0F2231
split-complementary
#2F0F31 #22310F #0F311E
monochromatic
#160717 #160717 #2F0F31 #5C1D60 #892C8F

Accessibility & contrast

On white

17.02
#2F0F31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#2F0F31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0F31
17.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0F31#FFFFFF#000000##FFFFFF
##2F0F311.0017.021.2317.02
#FFFFFF17.021.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1A32
Deuteranopia (green-blind)
#151D30
Tritanopia (blue-blind)
#30131E
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2f0f31;
/* rgb */ color: rgb(47, 15, 49);
/* oklch */ color: oklch(23.6% 0.074 325.3);
Tailwind
colors: {
  custom: {
    50: '#694f69',
    500: '#2f0f31',
    950: '#000000',
  },
}
SCSS
$custom: #2f0f31;
$custom-light: #694f69;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0f31",
  "rgb": {
    "r": 47,
    "g": 15,
    "b": 49
  },
  "hsl": {
    "h": 296.471,
    "s": 53.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.23626,
    "c": 0.07393,
    "h": 325.3
  },
  "luminance": 0.01168
}

Semantic roles & 50–950 ramp

primary
#2F0F31
secondary
#346B31
accent
#DD4B54
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2F0F31

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

Preview Lab → · Contrast checker → · Palette generator →

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