#2F112C#2F112C

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

Color values

HEX#2F112C
RGBrgb(47, 17, 44)
HSLhsl(306, 47%, 13%)
HSVhsv(306, 64%, 18%)
CMYKcmyk(0%, 63.8%, 6.4%, 81.6%)
CIE-LABlab(10.46, 19.88, -11.34)
CIE-LCHlch(10.46, 22.89, 330.31°)
OKLaboklab(23.64% 0.0566 -0.0309)
OKLCHoklch(23.64% 0.064 331.3)
XYZxyz(1.8274, 1.1872, 2.5153)
Luminance0.0119 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F112C #112F14
analogous
#23112F #2F112C #2F111D
triadic
#2F112C #2C2F11 #112C2F
tetradic
#2F112C #2F2311 #112F14 #111D2F
square
#2F112C #2F2311 #112F14 #111D2F
split-complementary
#2F112C #1D2F11 #112F23
monochromatic
#160815 #160815 #2F112C #5C2156 #893280

Accessibility & contrast

On white

16.97
#2F112C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#2F112C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F112C
16.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F112C#FFFFFF#000000##FFFFFF
##2F112C1.0016.971.2416.97
#FFFFFF16.971.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101A2D
Deuteranopia (green-blind)
#191E2B
Tritanopia (blue-blind)
#31131C
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2f112c;
/* rgb */ color: rgb(47, 17, 44);
/* oklch */ color: oklch(23.6% 0.064 331.3);
Tailwind
colors: {
  custom: {
    50: '#695065',
    500: '#2f112c',
    950: '#000000',
  },
}
SCSS
$custom: #2f112c;
$custom-light: #695065;
$custom-dark: #000000;
JSON
{
  "hex": "#2f112c",
  "rgb": {
    "r": 47,
    "g": 17,
    "b": 44
  },
  "hsl": {
    "h": 306,
    "s": 46.875,
    "l": 12.549
  },
  "oklch": {
    "l": 0.23635,
    "c": 0.06447,
    "h": 331.3
  },
  "luminance": 0.01187
}

Semantic roles & 50–950 ramp

primary
#2F112C
secondary
#346739
accent
#D75F51
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060205
muted
#7A787A

Preview Lab

Preview with #2F112C

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

Preview Lab → · Contrast checker → · Palette generator →

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