#2D152E#2D152E

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

Color values

HEX#2D152E
RGBrgb(45, 21, 46)
HSLhsl(298, 37%, 13%)
HSVhsv(298, 54%, 18%)
CMYKcmyk(2.2%, 54.3%, 0%, 82%)
CIE-LABlab(11.22, 17.03, -11.66)
CIE-LCHlch(11.22, 20.64, 325.60°)
OKLaboklab(24.16% 0.0468 -0.0319)
OKLCHoklch(24.16% 0.057 325.7)
XYZxyz(1.8435, 1.2916, 2.7364)
Luminance0.0129 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D152E #162E15
analogous
#20152E #2D152E #2E1522
triadic
#2D152E #2E2D15 #152E2D
tetradic
#2D152E #2E2015 #162E15 #15222E
square
#2D152E #2E2015 #162E15 #15222E
split-complementary
#2D152E #222E15 #152E20
monochromatic
#150A15 #150A15 #2D152E #562858 #7F3B82

Accessibility & contrast

On white

16.69
#2D152E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#2D152E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D152E
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D152E#FFFFFF#000000##FFFFFF
##2D152E1.0016.691.2616.69
#FFFFFF16.691.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131C2F
Deuteranopia (green-blind)
#191F2D
Tritanopia (blue-blind)
#2E181F
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2d152e;
/* rgb */ color: rgb(45, 21, 46);
/* oklch */ color: oklch(24.2% 0.057 325.7);
Tailwind
colors: {
  custom: {
    50: '#675366',
    500: '#2d152e',
    950: '#000000',
  },
}
SCSS
$custom: #2d152e;
$custom-light: #675366;
$custom-dark: #000000;
JSON
{
  "hex": "#2d152e",
  "rgb": {
    "r": 45,
    "g": 21,
    "b": 46
  },
  "hsl": {
    "h": 297.6,
    "s": 37.313,
    "l": 13.137
  },
  "oklch": {
    "l": 0.2416,
    "c": 0.05669,
    "h": 325.7
  },
  "luminance": 0.01291
}

Semantic roles & 50–950 ramp

primary
#2D152E
secondary
#3C643B
accent
#CD5B5F
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2D152E

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

Preview Lab → · Contrast checker → · Palette generator →

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