#2D0538#2D0538

#2D0538 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.5% C 0.097 H 317.7°. Best body text is #FFFFFF at 17.64:1 contrast (WCAG AA passes).

Color values

HEX#2D0538
RGBrgb(45, 5, 56)
HSLhsl(287, 84%, 12%)
HSVhsv(287, 91%, 22%)
CMYKcmyk(19.6%, 91.1%, 0%, 78%)
CIE-LABlab(8.59, 28.53, -23.12)
CIE-LCHlch(8.59, 36.73, 320.98°)
OKLaboklab(22.47% 0.0717 -0.0651)
OKLCHoklch(22.47% 0.097 317.7)
XYZxyz(1.8502, 0.9520, 3.8269)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0538 #103805
analogous
#140538 #2D0538 #38052A
triadic
#2D0538 #382D05 #05382D
tetradic
#2D0538 #381405 #103805 #052A38
square
#2D0538 #381405 #103805 #052A38
split-complementary
#2D0538 #2A3805 #053814
monochromatic
#17031C #17031C #2D0538 #5A0A70 #870FA8

Accessibility & contrast

On white

17.64
#2D0538 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#2D0538 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0538
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0538#FFFFFF#000000##FFFFFF
##2D05381.0017.641.1917.64
#FFFFFF17.641.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001639
Deuteranopia (green-blind)
#061A37
Tritanopia (blue-blind)
#2D101E
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2d0538;
/* rgb */ color: rgb(45, 5, 56);
/* oklch */ color: oklch(22.5% 0.097 317.7);
Tailwind
colors: {
  custom: {
    50: '#684a6f',
    500: '#2d0538',
    950: '#000000',
  },
}
SCSS
$custom: #2d0538;
$custom-light: #684a6f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0538",
  "rgb": {
    "r": 45,
    "g": 5,
    "b": 56
  },
  "hsl": {
    "h": 287.059,
    "s": 83.607,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22473,
    "c": 0.09684,
    "h": 317.7
  },
  "luminance": 0.00952
}

Semantic roles & 50–950 ramp

primary
#2D0538
secondary
#337920
accent
#FA2E5A
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2D0538

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

Preview Lab → · Contrast checker → · Palette generator →

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