#2D0336#2D0336

#2D0336 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.0% C 0.098 H 319.8°. Best body text is #FFFFFF at 17.83:1 contrast (WCAG AA passes).

Color values

HEX#2D0336
RGBrgb(45, 3, 54)
HSLhsl(289, 89%, 11%)
HSVhsv(289, 94%, 21%)
CMYKcmyk(16.7%, 94.4%, 0%, 78.8%)
CIE-LABlab(8.03, 29.20, -22.56)
CIE-LCHlch(8.03, 36.90, 322.31°)
OKLaboklab(22.03% 0.075 -0.0634)
OKLCHoklch(22.03% 0.098 319.8)
XYZxyz(1.7805, 0.8894, 3.5672)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0336 #0C3603
analogous
#130336 #2D0336 #360325
triadic
#2D0336 #362D03 #03362D
tetradic
#2D0336 #361303 #0C3603 #032536
square
#2D0336 #361303 #0C3603 #032536
split-complementary
#2D0336 #253603 #033613
monochromatic
#18021D #18021D #2D0336 #5D0670 #8E09AA

Accessibility & contrast

On white

17.83
#2D0336 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0336
17.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0336#FFFFFF#000000##FFFFFF
##2D03361.0017.831.1817.83
#FFFFFF17.831.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001537
Deuteranopia (green-blind)
#071935
Tritanopia (blue-blind)
#2D0E1D
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2d0336;
/* rgb */ color: rgb(45, 3, 54);
/* oklch */ color: oklch(22.0% 0.098 319.8);
Tailwind
colors: {
  custom: {
    50: '#68496d',
    500: '#2d0336',
    950: '#000000',
  },
}
SCSS
$custom: #2d0336;
$custom-light: #68496d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0336",
  "rgb": {
    "r": 45,
    "g": 3,
    "b": 54
  },
  "hsl": {
    "h": 289.412,
    "s": 89.474,
    "l": 11.176
  },
  "oklch": {
    "l": 0.22032,
    "c": 0.09821,
    "h": 319.8
  },
  "luminance": 0.00889
}

Semantic roles & 50–950 ramp

primary
#2D0336
secondary
#2C791C
accent
#FF294F
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2D0336

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

Preview Lab → · Contrast checker → · Palette generator →

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