#2D0534#2D0534

#2D0534 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.1% C 0.093 H 321.2°. Best body text is #FFFFFF at 17.75:1 contrast (WCAG AA passes).

Color values

HEX#2D0534
RGBrgb(45, 5, 52)
HSLhsl(291, 82%, 11%)
HSVhsv(291, 90%, 20%)
CMYKcmyk(13.5%, 90.4%, 0%, 79.6%)
CIE-LABlab(8.26, 27.63, -20.73)
CIE-LCHlch(8.26, 34.54, 323.11°)
OKLaboklab(22.14% 0.0724 -0.0581)
OKLCHoklch(22.14% 0.093 321.2)
XYZxyz(1.7562, 0.9145, 3.3321)
Luminance0.0091 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0534 #0C3405
analogous
#150534 #2D0534 #340523
triadic
#2D0534 #342D05 #05342D
tetradic
#2D0534 #341505 #0C3405 #052334
square
#2D0534 #341505 #0C3405 #052334
split-complementary
#2D0534 #233405 #053415
monochromatic
#18031C #18031C #2D0534 #5D0A6C #8E10A4

Accessibility & contrast

On white

17.75
#2D0534 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0534
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0534#FFFFFF#000000##FFFFFF
##2D05341.0017.751.1817.75
#FFFFFF17.751.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001535
Deuteranopia (green-blind)
#0A1933
Tritanopia (blue-blind)
#2D0E1C
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2d0534;
/* rgb */ color: rgb(45, 5, 52);
/* oklch */ color: oklch(22.1% 0.093 321.2);
Tailwind
colors: {
  custom: {
    50: '#684a6c',
    500: '#2d0534',
    950: '#000000',
  },
}
SCSS
$custom: #2d0534;
$custom-light: #684a6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0534",
  "rgb": {
    "r": 45,
    "g": 5,
    "b": 52
  },
  "hsl": {
    "h": 291.064,
    "s": 82.456,
    "l": 11.176
  },
  "oklch": {
    "l": 0.22137,
    "c": 0.0928,
    "h": 321.2
  },
  "luminance": 0.00914
}

Semantic roles & 50–950 ramp

primary
#2D0534
secondary
#2C751F
accent
#F92F4D
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2D0534

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

Preview Lab → · Contrast checker → · Palette generator →

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