#2F112B#2F112B

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

Color values

HEX#2F112B
RGBrgb(47, 17, 43)
HSLhsl(308, 47%, 13%)
HSVhsv(308, 64%, 18%)
CMYKcmyk(0%, 63.8%, 8.5%, 81.6%)
CIE-LABlab(10.41, 19.67, -10.68)
CIE-LCHlch(10.41, 22.38, 331.49°)
OKLaboklab(23.58% 0.0563 -0.0291)
OKLCHoklch(23.58% 0.063 332.7)
XYZxyz(1.8088, 1.1798, 2.4175)
Luminance0.0118 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F112B #112F15
analogous
#24112F #2F112B #2F111C
triadic
#2F112B #2B2F11 #112B2F
tetradic
#2F112B #2F2411 #112F15 #111C2F
square
#2F112B #2F2411 #112F15 #111C2F
split-complementary
#2F112B #1C2F11 #112F24
monochromatic
#160815 #160815 #2F112B #5C2154 #89327D

Accessibility & contrast

On white

16.99
#2F112B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F112B
16.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F112B#FFFFFF#000000##FFFFFF
##2F112B1.0016.991.2416.99
#FFFFFF16.991.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f112b;
/* rgb */ color: rgb(47, 17, 43);
/* oklch */ color: oklch(23.6% 0.063 332.7);
Tailwind
colors: {
  custom: {
    50: '#695064',
    500: '#2f112b',
    950: '#000000',
  },
}
SCSS
$custom: #2f112b;
$custom-light: #695064;
$custom-dark: #000000;
JSON
{
  "hex": "#2f112b",
  "rgb": {
    "r": 47,
    "g": 17,
    "b": 43
  },
  "hsl": {
    "h": 308,
    "s": 46.875,
    "l": 12.549
  },
  "oklch": {
    "l": 0.23576,
    "c": 0.0634,
    "h": 332.7
  },
  "luminance": 0.0118
}

Semantic roles & 50–950 ramp

primary
#2F112B
secondary
#34673B
accent
#D76351
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060205
muted
#7A7879

Preview Lab

Preview with #2F112B

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

Preview Lab → · Contrast checker → · Palette generator →

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