#2D0532#2D0532

#2D0532 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.0% C 0.091 H 323.1°. Best body text is #FFFFFF at 17.81:1 contrast (WCAG AA passes).

Color values

HEX#2D0532
RGBrgb(45, 5, 50)
HSLhsl(293, 82%, 11%)
HSVhsv(293, 90%, 20%)
CMYKcmyk(10%, 90%, 0%, 80.4%)
CIE-LABlab(8.10, 27.19, -19.52)
CIE-LCHlch(8.10, 33.47, 324.33°)
OKLaboklab(21.98% 0.0726 -0.0545)
OKLCHoklch(21.98% 0.091 323.1)
XYZxyz(1.7121, 0.8968, 3.0999)
Luminance0.0090 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0532 #0A3205
analogous
#160532 #2D0532 #320520
triadic
#2D0532 #322D05 #05322D
tetradic
#2D0532 #321605 #0A3205 #052032
square
#2D0532 #321605 #0A3205 #052032
split-complementary
#2D0532 #203205 #053216
monochromatic
#19031C #19031C #2D0532 #5F0B6A #9110A1

Accessibility & contrast

On white

17.81
#2D0532 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#2D0532 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0532
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0532#FFFFFF#000000##FFFFFF
##2D05321.0017.811.1817.81
#FFFFFF17.811.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001533
Deuteranopia (green-blind)
#0C1931
Tritanopia (blue-blind)
#2E0D1B
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2d0532;
/* rgb */ color: rgb(45, 5, 50);
/* oklch */ color: oklch(22.0% 0.091 323.1);
Tailwind
colors: {
  custom: {
    50: '#684a6a',
    500: '#2d0532',
    950: '#000000',
  },
}
SCSS
$custom: #2d0532;
$custom-light: #684a6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0532",
  "rgb": {
    "r": 45,
    "g": 5,
    "b": 50
  },
  "hsl": {
    "h": 293.333,
    "s": 81.818,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21976,
    "c": 0.09081,
    "h": 323.1
  },
  "luminance": 0.00897
}

Semantic roles & 50–950 ramp

primary
#2D0532
secondary
#29731F
accent
#F83046
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2D0532

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

Preview Lab → · Contrast checker → · Palette generator →

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