#2F0E31#2F0E31

#2F0E31 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.5% C 0.076 H 325.4°. Best body text is #FFFFFF at 17.10:1 contrast (WCAG AA passes).

Color values

HEX#2F0E31
RGBrgb(47, 14, 49)
HSLhsl(297, 56%, 12%)
HSVhsv(297, 71%, 19%)
CMYKcmyk(4.1%, 71.4%, 0%, 80.8%)
CIE-LABlab(10.11, 22.77, -15.56)
CIE-LCHlch(10.11, 27.58, 325.64°)
OKLaboklab(23.47% 0.0623 -0.0431)
OKLCHoklch(23.47% 0.076 325.4)
XYZxyz(1.8837, 1.1403, 3.0260)
Luminance0.0114 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0E31 #10310E
analogous
#1D0E31 #2F0E31 #310E22
triadic
#2F0E31 #312F0E #0E312F
tetradic
#2F0E31 #311D0E #10310E #0E2231
square
#2F0E31 #311D0E #10310E #0E2231
split-complementary
#2F0E31 #22310E #0E311D
monochromatic
#170718 #170718 #2F0E31 #5D1C61 #8A2990

Accessibility & contrast

On white

17.10
#2F0E31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0E31
17.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0E31#FFFFFF#000000##FFFFFF
##2F0E311.0017.101.2317.10
#FFFFFF17.101.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091932
Deuteranopia (green-blind)
#141D30
Tritanopia (blue-blind)
#30131D
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2f0e31;
/* rgb */ color: rgb(47, 14, 49);
/* oklch */ color: oklch(23.5% 0.076 325.4);
Tailwind
colors: {
  custom: {
    50: '#694f69',
    500: '#2f0e31',
    950: '#000000',
  },
}
SCSS
$custom: #2f0e31;
$custom-light: #694f69;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0e31",
  "rgb": {
    "r": 47,
    "g": 14,
    "b": 49
  },
  "hsl": {
    "h": 296.571,
    "s": 55.556,
    "l": 12.353
  },
  "oklch": {
    "l": 0.23474,
    "c": 0.07577,
    "h": 325.4
  },
  "luminance": 0.0114
}

Semantic roles & 50–950 ramp

primary
#2F0E31
secondary
#336C2F
accent
#DF4951
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2F0E31

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

Preview Lab → · Contrast checker → · Palette generator →

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