#2D0F36#2D0F36

#2D0F36 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.7% C 0.079 H 317.7°. Best body text is #FFFFFF at 17.03:1 contrast (WCAG AA passes).

Color values

HEX#2D0F36
RGBrgb(45, 15, 54)
HSLhsl(286, 57%, 14%)
HSVhsv(286, 72%, 21%)
CMYKcmyk(16.7%, 72.2%, 0%, 78.8%)
CIE-LABlab(10.30, 22.76, -18.92)
CIE-LCHlch(10.30, 29.60, 320.27°)
OKLaboklab(23.65% 0.0581 -0.0529)
OKLCHoklch(23.65% 0.079 317.7)
XYZxyz(1.9188, 1.1660, 3.6133)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0F36 #18360F
analogous
#190F36 #2D0F36 #360F2B
triadic
#2D0F36 #362D0F #0F362D
tetradic
#2D0F36 #36190F #18360F #0F2B36
square
#2D0F36 #36190F #18360F #0F2B36
split-complementary
#2D0F36 #2B360F #0F3619
monochromatic
#140718 #140718 #2D0F36 #551C66 #7D2A96

Accessibility & contrast

On white

17.03
#2D0F36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#2D0F36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0F36
17.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0F36#FFFFFF#000000##FFFFFF
##2D0F361.0017.031.2317.03
#FFFFFF17.031.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051A37
Deuteranopia (green-blind)
#101D35
Tritanopia (blue-blind)
#2D1620
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2d0f36;
/* rgb */ color: rgb(45, 15, 54);
/* oklch */ color: oklch(23.7% 0.079 317.7);
Tailwind
colors: {
  custom: {
    50: '#674f6d',
    500: '#2d0f36',
    950: '#000000',
  },
}
SCSS
$custom: #2d0f36;
$custom-light: #674f6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0f36",
  "rgb": {
    "r": 45,
    "g": 15,
    "b": 54
  },
  "hsl": {
    "h": 286.154,
    "s": 56.522,
    "l": 13.529
  },
  "oklch": {
    "l": 0.23652,
    "c": 0.07857,
    "h": 317.7
  },
  "luminance": 0.01166
}

Semantic roles & 50–950 ramp

primary
#2D0F36
secondary
#3F7031
accent
#E0486B
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060207
muted
#7A787A

Preview Lab

Preview with #2D0F36

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

Preview Lab → · Contrast checker → · Palette generator →

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