#2F0931#2F0931

#2F0931 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.8% C 0.084 H 325.8°. Best body text is #FFFFFF at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#2F0931
RGBrgb(47, 9, 49)
HSLhsl(297, 69%, 11%)
HSVhsv(297, 82%, 19%)
CMYKcmyk(4.1%, 81.6%, 0%, 80.8%)
CIE-LABlab(9.17, 25.38, -17.05)
CIE-LCHlch(9.17, 30.58, 326.11°)
OKLaboklab(22.79% 0.0696 -0.0473)
OKLCHoklch(22.79% 0.084 325.8)
XYZxyz(1.8243, 1.0216, 3.0062)
Luminance0.0102 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0931 #0B3109
analogous
#1B0931 #2F0931 #31091F
triadic
#2F0931 #312F09 #09312F
tetradic
#2F0931 #311B09 #0B3109 #091F31
square
#2F0931 #311B09 #0B3109 #091F31
split-complementary
#2F0931 #1F3109 #09311B
monochromatic
#19051A #19051A #2F0931 #611265 #921C98

Accessibility & contrast

On white

17.44
#2F0931 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#2F0931 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0931
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0931#FFFFFF#000000##FFFFFF
##2F09311.0017.441.2017.44
#FFFFFF17.441.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031732
Deuteranopia (green-blind)
#111B30
Tritanopia (blue-blind)
#300F1C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2f0931;
/* rgb */ color: rgb(47, 9, 49);
/* oklch */ color: oklch(22.8% 0.084 325.8);
Tailwind
colors: {
  custom: {
    50: '#694c69',
    500: '#2f0931',
    950: '#000000',
  },
}
SCSS
$custom: #2f0931;
$custom-light: #694c69;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0931",
  "rgb": {
    "r": 47,
    "g": 9,
    "b": 49
  },
  "hsl": {
    "h": 297,
    "s": 68.966,
    "l": 11.373
  },
  "oklch": {
    "l": 0.22794,
    "c": 0.08418,
    "h": 325.8
  },
  "luminance": 0.01021
}

Semantic roles & 50–950 ramp

primary
#2F0931
secondary
#2A6F27
accent
#EC3C45
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2F0931

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

Preview Lab → · Contrast checker → · Palette generator →

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