#2D1137#2D1137

#2D1137 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.0% C 0.076 H 316.3°. Best body text is #FFFFFF at 16.84:1 contrast (WCAG AA passes).

Color values

HEX#2D1137
RGBrgb(45, 17, 55)
HSLhsl(284, 53%, 14%)
HSVhsv(284, 69%, 22%)
CMYKcmyk(18.2%, 69.1%, 0%, 78.4%)
CIE-LABlab(10.81, 21.83, -18.83)
CIE-LCHlch(10.81, 28.83, 319.21°)
OKLaboklab(24.04% 0.055 -0.0527)
OKLCHoklch(24.04% 0.076 316.3)
XYZxyz(1.9721, 1.2347, 3.7481)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1137 #1B3711
analogous
#1A1137 #2D1137 #37112E
triadic
#2D1137 #372D11 #11372D
tetradic
#2D1137 #371A11 #1B3711 #112E37
square
#2D1137 #371A11 #1B3711 #112E37
split-complementary
#2D1137 #2E3711 #11371A
monochromatic
#130717 #130717 #2D1137 #531F66 #7A2E95

Accessibility & contrast

On white

16.84
#2D1137 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#2D1137 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1137
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1137#FFFFFF#000000##FFFFFF
##2D11371.0016.841.2516.84
#FFFFFF16.841.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071B38
Deuteranopia (green-blind)
#111E36
Tritanopia (blue-blind)
#2C1722
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2d1137;
/* rgb */ color: rgb(45, 17, 55);
/* oklch */ color: oklch(24.0% 0.076 316.3);
Tailwind
colors: {
  custom: {
    50: '#67516e',
    500: '#2d1137',
    950: '#000000',
  },
}
SCSS
$custom: #2d1137;
$custom-light: #67516e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1137",
  "rgb": {
    "r": 45,
    "g": 17,
    "b": 55
  },
  "hsl": {
    "h": 284.211,
    "s": 52.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.24043,
    "c": 0.07617,
    "h": 316.3
  },
  "luminance": 0.01235
}

Semantic roles & 50–950 ramp

primary
#2D1137
secondary
#447034
accent
#DC4C72
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060207
muted
#7A787A

Preview Lab

Preview with #2D1137

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

Preview Lab → · Contrast checker → · Palette generator →

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