#2D1337#2D1337

#2D1337 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.4% C 0.072 H 315.7°. Best body text is #FFFFFF at 16.67:1 contrast (WCAG AA passes).

Color values

HEX#2D1337
RGBrgb(45, 19, 55)
HSLhsl(283, 49%, 15%)
HSVhsv(283, 65%, 22%)
CMYKcmyk(18.2%, 65.5%, 0%, 78.4%)
CIE-LABlab(11.27, 20.59, -18.10)
CIE-LCHlch(11.27, 27.42, 318.68°)
OKLaboklab(24.38% 0.0518 -0.0505)
OKLCHoklch(24.38% 0.072 315.7)
XYZxyz(2.0045, 1.2995, 3.7589)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1337 #1D3713
analogous
#1B1337 #2D1337 #37132F
triadic
#2D1337 #372D13 #13372D
tetradic
#2D1337 #371B13 #1D3713 #132F37
square
#2D1337 #371B13 #1D3713 #132F37
split-complementary
#2D1337 #2F3713 #13371B
monochromatic
#130817 #130817 #2D1337 #522364 #773292

Accessibility & contrast

On white

16.67
#2D1337 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D1337
16.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1337#FFFFFF#000000##FFFFFF
##2D13371.0016.671.2616.67
#FFFFFF16.671.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1C38
Deuteranopia (green-blind)
#131F36
Tritanopia (blue-blind)
#2C1922
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2d1337;
/* rgb */ color: rgb(45, 19, 55);
/* oklch */ color: oklch(24.4% 0.072 315.7);
Tailwind
colors: {
  custom: {
    50: '#67526e',
    500: '#2d1337',
    950: '#000000',
  },
}
SCSS
$custom: #2d1337;
$custom-light: #67526e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1337",
  "rgb": {
    "r": 45,
    "g": 19,
    "b": 55
  },
  "hsl": {
    "h": 283.333,
    "s": 48.649,
    "l": 14.51
  },
  "oklch": {
    "l": 0.24381,
    "c": 0.07236,
    "h": 315.7
  },
  "luminance": 0.01299
}

Semantic roles & 50–950 ramp

primary
#2D1337
secondary
#466F37
accent
#D85076
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060207
muted
#7A787A

Preview Lab

Preview with #2D1337

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

Preview Lab → · Contrast checker → · Palette generator →

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