#2D0536#2D0536

#2D0536 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.3% C 0.095 H 319.4°. Best body text is #FFFFFF at 17.70:1 contrast (WCAG AA passes).

Color values

HEX#2D0536
RGBrgb(45, 5, 54)
HSLhsl(289, 83%, 12%)
HSVhsv(289, 91%, 21%)
CMYKcmyk(16.7%, 90.7%, 0%, 78.8%)
CIE-LABlab(8.42, 28.07, -21.94)
CIE-LCHlch(8.42, 35.63, 322.00°)
OKLaboklab(22.3% 0.072 -0.0616)
OKLCHoklch(22.3% 0.095 319.4)
XYZxyz(1.8022, 0.9329, 3.5744)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0536 #0E3605
analogous
#150536 #2D0536 #360527
triadic
#2D0536 #362D05 #05362D
tetradic
#2D0536 #361505 #0E3605 #052736
square
#2D0536 #361505 #0E3605 #052736
split-complementary
#2D0536 #273605 #053615
monochromatic
#17031C #17031C #2D0536 #5C0A6E #8A0FA6

Accessibility & contrast

On white

17.70
#2D0536 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0536
17.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0536#FFFFFF#000000##FFFFFF
##2D05361.0017.701.1917.70
#FFFFFF17.701.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001637
Deuteranopia (green-blind)
#081A35
Tritanopia (blue-blind)
#2D0F1D
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2d0536;
/* rgb */ color: rgb(45, 5, 54);
/* oklch */ color: oklch(22.3% 0.095 319.4);
Tailwind
colors: {
  custom: {
    50: '#684a6d',
    500: '#2d0536',
    950: '#000000',
  },
}
SCSS
$custom: #2d0536;
$custom-light: #684a6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0536",
  "rgb": {
    "r": 45,
    "g": 5,
    "b": 54
  },
  "hsl": {
    "h": 288.98,
    "s": 83.051,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22303,
    "c": 0.09481,
    "h": 319.4
  },
  "luminance": 0.00933
}

Semantic roles & 50–950 ramp

primary
#2D0536
secondary
#307720
accent
#F92E54
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2D0536

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

Preview Lab → · Contrast checker → · Palette generator →

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