#2D0639#2D0639

#2D0639 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.7% C 0.096 H 316.7°. Best body text is #FFFFFF at 17.55:1 contrast (WCAG AA passes).

Color values

HEX#2D0639
RGBrgb(45, 6, 57)
HSLhsl(286, 81%, 12%)
HSVhsv(286, 89%, 22%)
CMYKcmyk(21.1%, 89.5%, 0%, 77.6%)
CIE-LABlab(8.85, 28.23, -23.42)
CIE-LCHlch(8.85, 36.68, 320.32°)
OKLaboklab(22.69% 0.0701 -0.066)
OKLCHoklch(22.69% 0.096 316.7)
XYZxyz(1.8857, 0.9836, 3.9606)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0639 #123906
analogous
#130639 #2D0639 #39062C
triadic
#2D0639 #392D06 #06392D
tetradic
#2D0639 #391306 #123906 #062C39
square
#2D0639 #391306 #123906 #062C39
split-complementary
#2D0639 #2C3906 #063913
monochromatic
#16031C #16031C #2D0639 #590C70 #8412A8

Accessibility & contrast

On white

17.55
#2D0639 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#2D0639 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0639
17.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0639#FFFFFF#000000##FFFFFF
##2D06391.0017.551.2017.55
#FFFFFF17.551.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d0639;
/* rgb */ color: rgb(45, 6, 57);
/* oklch */ color: oklch(22.7% 0.096 316.7);
Tailwind
colors: {
  custom: {
    50: '#684b70',
    500: '#2d0639',
    950: '#000000',
  },
}
SCSS
$custom: #2d0639;
$custom-light: #684b70;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0639",
  "rgb": {
    "r": 45,
    "g": 6,
    "b": 57
  },
  "hsl": {
    "h": 285.882,
    "s": 80.952,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22689,
    "c": 0.09627,
    "h": 316.7
  },
  "luminance": 0.00984
}

Semantic roles & 50–950 ramp

primary
#2D0639
secondary
#367922
accent
#F7305F
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2D0639

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

Preview Lab → · Contrast checker → · Palette generator →

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