#2D0634#2D0634

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

Color values

HEX#2D0634
RGBrgb(45, 6, 52)
HSLhsl(291, 79%, 11%)
HSVhsv(291, 88%, 20%)
CMYKcmyk(13.5%, 88.5%, 0%, 79.6%)
CIE-LABlab(8.45, 27.08, -20.43)
CIE-LCHlch(8.45, 33.92, 322.97°)
OKLaboklab(22.27% 0.0709 -0.0572)
OKLCHoklch(22.27% 0.091 321.1)
XYZxyz(1.7671, 0.9362, 3.3358)
Luminance0.0094 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0634 #0D3406
analogous
#160634 #2D0634 #340624
triadic
#2D0634 #342D06 #06342D
tetradic
#2D0634 #341606 #0D3406 #062434
square
#2D0634 #341606 #0D3406 #062434
split-complementary
#2D0634 #243406 #063416
monochromatic
#18031B #18031B #2D0634 #5C0C6B #8C13A2

Accessibility & contrast

On white

17.69
#2D0634 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0634
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0634#FFFFFF#000000##FFFFFF
##2D06341.0017.691.1917.69
#FFFFFF17.691.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001635
Deuteranopia (green-blind)
#0B1A33
Tritanopia (blue-blind)
#2D0F1C
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2d0634;
/* rgb */ color: rgb(45, 6, 52);
/* oklch */ color: oklch(22.3% 0.091 321.1);
Tailwind
colors: {
  custom: {
    50: '#684a6c',
    500: '#2d0634',
    950: '#000000',
  },
}
SCSS
$custom: #2d0634;
$custom-light: #684a6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0634",
  "rgb": {
    "r": 45,
    "g": 6,
    "b": 52
  },
  "hsl": {
    "h": 290.87,
    "s": 79.31,
    "l": 11.373
  },
  "oklch": {
    "l": 0.22272,
    "c": 0.09111,
    "h": 321.1
  },
  "luminance": 0.00936
}

Semantic roles & 50–950 ramp

primary
#2D0634
secondary
#2E7421
accent
#F63250
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2D0634

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

Preview Lab → · Contrast checker → · Palette generator →

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