#2F152D#2F152D

#2F152D is a very dark, muted purple. Relative luminance 0.013; OKLCH L 24.4% C 0.057 H 330.0°. Best body text is #FFFFFF at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#2F152D
RGBrgb(47, 21, 45)
HSLhsl(305, 38%, 13%)
HSVhsv(305, 55%, 18%)
CMYKcmyk(0%, 55.3%, 4.3%, 81.6%)
CIE-LABlab(11.49, 17.56, -10.48)
CIE-LCHlch(11.49, 20.45, 329.16°)
OKLaboklab(24.41% 0.0495 -0.0286)
OKLCHoklch(24.41% 0.057 330)
XYZxyz(1.9141, 1.3302, 2.6381)
Luminance0.0133 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F152D #152F17
analogous
#24152F #2F152D #2F1520
triadic
#2F152D #2D2F15 #152D2F
tetradic
#2F152D #2F2415 #152F17 #15202F
square
#2F152D #2F2415 #152F17 #15202F
split-complementary
#2F152D #202F15 #152F24
monochromatic
#150914 #150914 #2F152D #592855 #843B7E

Accessibility & contrast

On white

16.59
#2F152D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#2F152D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F152D
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F152D#FFFFFF#000000##FFFFFF
##2F152D1.0016.591.2716.59
#FFFFFF16.591.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141C2E
Deuteranopia (green-blind)
#1B202C
Tritanopia (blue-blind)
#31171E
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2f152d;
/* rgb */ color: rgb(47, 21, 45);
/* oklch */ color: oklch(24.4% 0.057 330.0);
Tailwind
colors: {
  custom: {
    50: '#685366',
    500: '#2f152d',
    950: '#000000',
  },
}
SCSS
$custom: #2f152d;
$custom-light: #685366;
$custom-dark: #000000;
JSON
{
  "hex": "#2f152d",
  "rgb": {
    "r": 47,
    "g": 21,
    "b": 45
  },
  "hsl": {
    "h": 304.615,
    "s": 38.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.24411,
    "c": 0.05717,
    "h": 330
  },
  "luminance": 0.0133
}

Semantic roles & 50–950 ramp

primary
#2F152D
secondary
#3B653E
accent
#CE635A
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060205
muted
#7A787A

Preview Lab

Preview with #2F152D

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

Preview Lab → · Contrast checker → · Palette generator →

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