#2D0F37#2D0F37

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

Color values

HEX#2D0F37
RGBrgb(45, 15, 55)
HSLhsl(285, 57%, 14%)
HSVhsv(285, 73%, 22%)
CMYKcmyk(18.2%, 72.7%, 0%, 78.4%)
CIE-LABlab(10.37, 23.02, -19.53)
CIE-LCHlch(10.37, 30.19, 319.69°)
OKLaboklab(23.73% 0.0581 -0.0547)
OKLCHoklch(23.73% 0.08 316.7)
XYZxyz(1.9425, 1.1754, 3.7382)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0F37 #19370F
analogous
#190F37 #2D0F37 #370F2D
triadic
#2D0F37 #372D0F #0F372D
tetradic
#2D0F37 #37190F #19370F #0F2D37
square
#2D0F37 #37190F #19370F #0F2D37
split-complementary
#2D0F37 #2D370F #0F3719
monochromatic
#140718 #140718 #2D0F37 #541C67 #7C2997

Accessibility & contrast

On white

17.00
#2D0F37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0F37
17.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0F37#FFFFFF#000000##FFFFFF
##2D0F371.0017.001.2317.00
#FFFFFF17.001.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041A38
Deuteranopia (green-blind)
#101D36
Tritanopia (blue-blind)
#2D1621
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2d0f37;
/* rgb */ color: rgb(45, 15, 55);
/* oklch */ color: oklch(23.7% 0.080 316.7);
Tailwind
colors: {
  custom: {
    50: '#674f6e',
    500: '#2d0f37',
    950: '#000000',
  },
}
SCSS
$custom: #2d0f37;
$custom-light: #674f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0f37",
  "rgb": {
    "r": 45,
    "g": 15,
    "b": 55
  },
  "hsl": {
    "h": 285,
    "s": 57.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.23726,
    "c": 0.07979,
    "h": 316.7
  },
  "luminance": 0.01175
}

Semantic roles & 50–950 ramp

primary
#2D0F37
secondary
#417131
accent
#E0476E
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #2D0F37

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

Preview Lab → · Contrast checker → · Palette generator →

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