#2D0737#2D0737

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

Color values

HEX#2D0737
RGBrgb(45, 7, 55)
HSLhsl(288, 77%, 12%)
HSVhsv(288, 87%, 22%)
CMYKcmyk(18.2%, 87.3%, 0%, 78.4%)
CIE-LABlab(8.87, 27.23, -21.94)
CIE-LCHlch(8.87, 34.97, 321.15°)
OKLaboklab(22.65% 0.0691 -0.0617)
OKLCHoklch(22.65% 0.093 318.2)
XYZxyz(1.8477, 0.9858, 3.7066)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0737 #113707
analogous
#150737 #2D0737 #370729
triadic
#2D0737 #372D07 #07372D
tetradic
#2D0737 #371507 #113707 #072937
square
#2D0737 #371507 #113707 #072937
split-complementary
#2D0737 #293707 #073715
monochromatic
#16031B #16031B #2D0737 #590E6D #8615A4

Accessibility & contrast

On white

17.54
#2D0737 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0737
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0737#FFFFFF#000000##FFFFFF
##2D07371.0017.541.2017.54
#FFFFFF17.541.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001738
Deuteranopia (green-blind)
#091A36
Tritanopia (blue-blind)
#2D111E
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2d0737;
/* rgb */ color: rgb(45, 7, 55);
/* oklch */ color: oklch(22.6% 0.093 318.2);
Tailwind
colors: {
  custom: {
    50: '#684b6e',
    500: '#2d0737',
    950: '#000000',
  },
}
SCSS
$custom: #2d0737;
$custom-light: #684b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0737",
  "rgb": {
    "r": 45,
    "g": 7,
    "b": 55
  },
  "hsl": {
    "h": 287.5,
    "s": 77.419,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22649,
    "c": 0.0926,
    "h": 318.2
  },
  "luminance": 0.00986
}

Semantic roles & 50–950 ramp

primary
#2D0737
secondary
#357723
accent
#F4345C
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2D0737

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

Preview Lab → · Contrast checker → · Palette generator →

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