#2D0736#2D0736

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

Color values

HEX#2D0736
RGBrgb(45, 7, 54)
HSLhsl(289, 77%, 12%)
HSVhsv(289, 87%, 21%)
CMYKcmyk(16.7%, 87%, 0%, 78.8%)
CIE-LABlab(8.79, 27.00, -21.34)
CIE-LCHlch(8.79, 34.41, 321.68°)
OKLaboklab(22.57% 0.0692 -0.0599)
OKLCHoklch(22.57% 0.092 319.1)
XYZxyz(1.8239, 0.9763, 3.5817)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0736 #103607
analogous
#160736 #2D0736 #360728
triadic
#2D0736 #362D07 #07362D
tetradic
#2D0736 #361607 #103607 #072836
square
#2D0736 #361607 #103607 #072836
split-complementary
#2D0736 #283607 #073616
monochromatic
#17041B #17041B #2D0736 #5A0E6C #8715A2

Accessibility & contrast

On white

17.57
#2D0736 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0736
17.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0736#FFFFFF#000000##FFFFFF
##2D07361.0017.571.2017.57
#FFFFFF17.571.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001737
Deuteranopia (green-blind)
#0A1A35
Tritanopia (blue-blind)
#2D101E
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2d0736;
/* rgb */ color: rgb(45, 7, 54);
/* oklch */ color: oklch(22.6% 0.092 319.1);
Tailwind
colors: {
  custom: {
    50: '#684b6d',
    500: '#2d0736',
    950: '#000000',
  },
}
SCSS
$custom: #2d0736;
$custom-light: #684b6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0736",
  "rgb": {
    "r": 45,
    "g": 7,
    "b": 54
  },
  "hsl": {
    "h": 288.511,
    "s": 77.049,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22567,
    "c": 0.09154,
    "h": 319.1
  },
  "luminance": 0.00976
}

Semantic roles & 50–950 ramp

primary
#2D0736
secondary
#337623
accent
#F43459
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2D0736

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

Preview Lab → · Contrast checker → · Palette generator →

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