#2D0539#2D0539

#2D0539 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.6% C 0.098 H 316.9°. Best body text is #FFFFFF at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#2D0539
RGBrgb(45, 5, 57)
HSLhsl(286, 84%, 12%)
HSVhsv(286, 91%, 22%)
CMYKcmyk(21.1%, 91.2%, 0%, 77.6%)
CIE-LABlab(8.67, 28.76, -23.71)
CIE-LCHlch(8.67, 37.28, 320.50°)
OKLaboklab(22.56% 0.0715 -0.0669)
OKLCHoklch(22.56% 0.098 316.9)
XYZxyz(1.8749, 0.9619, 3.9570)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0539 #113905
analogous
#130539 #2D0539 #39052B
triadic
#2D0539 #392D05 #05392D
tetradic
#2D0539 #391305 #113905 #052B39
square
#2D0539 #391305 #113905 #052B39
split-complementary
#2D0539 #2B3905 #053913
monochromatic
#16021C #16021C #2D0539 #590A71 #860FAA

Accessibility & contrast

On white

17.61
#2D0539 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0539
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0539#FFFFFF#000000##FFFFFF
##2D05391.0017.611.1917.61
#FFFFFF17.611.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163A
Deuteranopia (green-blind)
#051A38
Tritanopia (blue-blind)
#2C111F
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2d0539;
/* rgb */ color: rgb(45, 5, 57);
/* oklch */ color: oklch(22.6% 0.098 316.9);
Tailwind
colors: {
  custom: {
    50: '#684a70',
    500: '#2d0539',
    950: '#000000',
  },
}
SCSS
$custom: #2d0539;
$custom-light: #684a70;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0539",
  "rgb": {
    "r": 45,
    "g": 5,
    "b": 57
  },
  "hsl": {
    "h": 286.154,
    "s": 83.871,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22559,
    "c": 0.09786,
    "h": 316.9
  },
  "luminance": 0.00962
}

Semantic roles & 50–950 ramp

primary
#2D0539
secondary
#357A20
accent
#FA2E5D
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2D0539

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

Preview Lab → · Contrast checker → · Palette generator →

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