#2D1936#2D1936

#2D1936 is a dark, muted purple. Relative luminance 0.015; OKLCH L 25.4% C 0.059 H 314.6°. Best body text is #FFFFFF at 16.11:1 contrast (WCAG AA passes).

Color values

HEX#2D1936
RGBrgb(45, 25, 54)
HSLhsl(281, 37%, 15%)
HSVhsv(281, 54%, 21%)
CMYKcmyk(16.7%, 53.7%, 0%, 78.8%)
CIE-LABlab(12.73, 16.36, -15.08)
CIE-LCHlch(12.73, 22.25, 317.33°)
OKLaboklab(25.44% 0.0413 -0.0418)
OKLCHoklch(25.44% 0.059 314.6)
XYZxyz(2.0956, 1.5195, 3.6722)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1936 #223619
analogous
#1E1936 #2D1936 #361930
triadic
#2D1936 #362D19 #19362D
tetradic
#2D1936 #361E19 #223619 #193036
square
#2D1936 #361E19 #223619 #193036
split-complementary
#2D1936 #303619 #19361E
monochromatic
#110A15 #110A15 #2D1936 #502C60 #73408A

Accessibility & contrast

On white

16.11
#2D1936 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#2D1936 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1936
16.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1936#FFFFFF#000000##FFFFFF
##2D19361.0016.111.3016.11
#FFFFFF16.111.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132037
Deuteranopia (green-blind)
#192235
Tritanopia (blue-blind)
#2C1D24
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #2d1936;
/* rgb */ color: rgb(45, 25, 54);
/* oklch */ color: oklch(25.4% 0.059 314.6);
Tailwind
colors: {
  custom: {
    50: '#67566d',
    500: '#2d1936',
    950: '#000000',
  },
}
SCSS
$custom: #2d1936;
$custom-light: #67566d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1936",
  "rgb": {
    "r": 45,
    "g": 25,
    "b": 54
  },
  "hsl": {
    "h": 281.379,
    "s": 36.709,
    "l": 15.49
  },
  "oklch": {
    "l": 0.2544,
    "c": 0.05875,
    "h": 314.6
  },
  "luminance": 0.01519
}

Semantic roles & 50–950 ramp

primary
#2D1936
secondary
#4D6B3F
accent
#CD5B7E
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060307
muted
#7A787A

Preview Lab

Preview with #2D1936

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

Preview Lab → · Contrast checker → · Palette generator →

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