#2D0637#2D0637

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

Color values

HEX#2D0637
RGBrgb(45, 6, 55)
HSLhsl(288, 80%, 12%)
HSVhsv(288, 89%, 22%)
CMYKcmyk(18.2%, 89.1%, 0%, 78.4%)
CIE-LABlab(8.69, 27.76, -22.23)
CIE-LCHlch(8.69, 35.56, 321.31°)
OKLaboklab(22.52% 0.0705 -0.0625)
OKLCHoklch(22.52% 0.094 318.4)
XYZxyz(1.8368, 0.9641, 3.7030)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0637 #103706
analogous
#150637 #2D0637 #370629
triadic
#2D0637 #372D06 #06372D
tetradic
#2D0637 #371506 #103706 #062937
square
#2D0637 #371506 #103706 #062937
split-complementary
#2D0637 #293706 #063715
monochromatic
#17031C #17031C #2D0637 #5A0C6E #8712A5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D0637#FFFFFF#000000##FFFFFF
##2D06371.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)
#001638
Deuteranopia (green-blind)
#081A36
Tritanopia (blue-blind)
#2D101E
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2d0637;
/* rgb */ color: rgb(45, 6, 55);
/* oklch */ color: oklch(22.5% 0.094 318.4);
Tailwind
colors: {
  custom: {
    50: '#684b6e',
    500: '#2d0637',
    950: '#000000',
  },
}
SCSS
$custom: #2d0637;
$custom-light: #684b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0637",
  "rgb": {
    "r": 45,
    "g": 6,
    "b": 55
  },
  "hsl": {
    "h": 287.755,
    "s": 80.328,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22519,
    "c": 0.09419,
    "h": 318.4
  },
  "luminance": 0.00964
}

Semantic roles & 50–950 ramp

primary
#2D0637
secondary
#337721
accent
#F73159
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2D0637

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

Preview Lab → · Contrast checker → · Palette generator →

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