#2D1036#2D1036

#2D1036 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.8% C 0.077 H 317.4°. Best body text is #FFFFFF at 16.95:1 contrast (WCAG AA passes).

Color values

HEX#2D1036
RGBrgb(45, 16, 54)
HSLhsl(286, 54%, 14%)
HSVhsv(286, 70%, 21%)
CMYKcmyk(16.7%, 70.4%, 0%, 78.8%)
CIE-LABlab(10.52, 22.18, -18.58)
CIE-LCHlch(10.52, 28.93, 320.05°)
OKLaboklab(23.81% 0.0566 -0.0519)
OKLCHoklch(23.81% 0.077 317.4)
XYZxyz(1.9332, 1.1949, 3.6181)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1036 #193610
analogous
#1A1036 #2D1036 #36102C
triadic
#2D1036 #362D10 #10362D
tetradic
#2D1036 #361A10 #193610 #102C36
square
#2D1036 #361A10 #193610 #102C36
split-complementary
#2D1036 #2C3610 #10361A
monochromatic
#140718 #140718 #2D1036 #541E65 #7C2C94

Accessibility & contrast

On white

16.95
#2D1036 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#2D1036 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1036
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1036#FFFFFF#000000##FFFFFF
##2D10361.0016.951.2416.95
#FFFFFF16.951.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061B37
Deuteranopia (green-blind)
#111D35
Tritanopia (blue-blind)
#2D1621
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2d1036;
/* rgb */ color: rgb(45, 16, 54);
/* oklch */ color: oklch(23.8% 0.077 317.4);
Tailwind
colors: {
  custom: {
    50: '#67506d',
    500: '#2d1036',
    950: '#000000',
  },
}
SCSS
$custom: #2d1036;
$custom-light: #67506d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1036",
  "rgb": {
    "r": 45,
    "g": 16,
    "b": 54
  },
  "hsl": {
    "h": 285.789,
    "s": 54.286,
    "l": 13.725
  },
  "oklch": {
    "l": 0.23809,
    "c": 0.07676,
    "h": 317.4
  },
  "luminance": 0.01195
}

Semantic roles & 50–950 ramp

primary
#2D1036
secondary
#417032
accent
#DE4A6D
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060207
muted
#7A787A

Preview Lab

Preview with #2D1036

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

Preview Lab → · Contrast checker → · Palette generator →

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