#2D1034#2D1034

#2D1034 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.7% C 0.074 H 319.4°. Best body text is #FFFFFF at 17.00:1 contrast (WCAG AA passes).

Color values

HEX#2D1034
RGBrgb(45, 16, 52)
HSLhsl(288, 53%, 13%)
HSVhsv(288, 69%, 20%)
CMYKcmyk(13.5%, 69.2%, 0%, 79.6%)
CIE-LABlab(10.38, 21.67, -17.34)
CIE-LCHlch(10.38, 27.76, 321.33°)
OKLaboklab(23.67% 0.0565 -0.0483)
OKLCHoklch(23.67% 0.074 319.4)
XYZxyz(1.8872, 1.1765, 3.3758)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1034 #173410
analogous
#1B1034 #2D1034 #341029
triadic
#2D1034 #342D10 #10342D
tetradic
#2D1034 #341B10 #173410 #102934
square
#2D1034 #341B10 #173410 #102934
split-complementary
#2D1034 #293410 #10341B
monochromatic
#140717 #140717 #2D1034 #551E63 #7E2D92

Accessibility & contrast

On white

17.00
#2D1034 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D1034
17.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1034#FFFFFF#000000##FFFFFF
##2D10341.0017.001.2417.00
#FFFFFF17.001.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF17.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081A35
Deuteranopia (green-blind)
#121D33
Tritanopia (blue-blind)
#2D1620
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2d1034;
/* rgb */ color: rgb(45, 16, 52);
/* oklch */ color: oklch(23.7% 0.074 319.4);
Tailwind
colors: {
  custom: {
    50: '#67506b',
    500: '#2d1034',
    950: '#000000',
  },
}
SCSS
$custom: #2d1034;
$custom-light: #67506b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1034",
  "rgb": {
    "r": 45,
    "g": 16,
    "b": 52
  },
  "hsl": {
    "h": 288.333,
    "s": 52.941,
    "l": 13.333
  },
  "oklch": {
    "l": 0.23665,
    "c": 0.0743,
    "h": 319.4
  },
  "luminance": 0.01176
}

Semantic roles & 50–950 ramp

primary
#2D1034
secondary
#3E6E32
accent
#DC4B68
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2D1034

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

Preview Lab → · Contrast checker → · Palette generator →

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