#2F0B31#2F0B31

#2F0B31 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.1% C 0.081 H 325.6°. Best body text is #FFFFFF at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#2F0B31
RGBrgb(47, 11, 49)
HSLhsl(297, 63%, 12%)
HSVhsv(297, 78%, 19%)
CMYKcmyk(4.1%, 77.6%, 0%, 80.8%)
CIE-LABlab(9.53, 24.38, -16.49)
CIE-LCHlch(9.53, 29.43, 325.93°)
OKLaboklab(23.05% 0.0668 -0.0457)
OKLCHoklch(23.05% 0.081 325.6)
XYZxyz(1.8463, 1.0655, 3.0136)
Luminance0.0106 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0B31 #0D310B
analogous
#1C0B31 #2F0B31 #310B20
triadic
#2F0B31 #312F0B #0B312F
tetradic
#2F0B31 #311C0B #0D310B #0B2031
square
#2F0B31 #311C0B #0D310B #0B2031
split-complementary
#2F0B31 #20310B #0B311C
monochromatic
#180619 #180619 #2F0B31 #5F1663 #8F2195

Accessibility & contrast

On white

17.31
#2F0B31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2F0B31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0B31
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0B31#FFFFFF#000000##FFFFFF
##2F0B311.0017.311.2117.31
#FFFFFF17.311.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051832
Deuteranopia (green-blind)
#131C30
Tritanopia (blue-blind)
#30111C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2f0b31;
/* rgb */ color: rgb(47, 11, 49);
/* oklch */ color: oklch(23.1% 0.081 325.6);
Tailwind
colors: {
  custom: {
    50: '#694d69',
    500: '#2f0b31',
    950: '#000000',
  },
}
SCSS
$custom: #2f0b31;
$custom-light: #694d69;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0b31",
  "rgb": {
    "r": 47,
    "g": 11,
    "b": 49
  },
  "hsl": {
    "h": 296.842,
    "s": 63.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.23051,
    "c": 0.08097,
    "h": 325.6
  },
  "luminance": 0.01065
}

Semantic roles & 50–950 ramp

primary
#2F0B31
secondary
#2E6E2A
accent
#E6414A
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2F0B31

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

Preview Lab → · Contrast checker → · Palette generator →

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