#2D0F35#2D0F35

#2D0F35 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.6% C 0.077 H 318.7°. Best body text is #FFFFFF at 17.05:1 contrast (WCAG AA passes).

Color values

HEX#2D0F35
RGBrgb(45, 15, 53)
HSLhsl(287, 56%, 13%)
HSVhsv(287, 72%, 21%)
CMYKcmyk(15.1%, 71.7%, 0%, 79.2%)
CIE-LABlab(10.23, 22.51, -18.31)
CIE-LCHlch(10.23, 29.02, 320.89°)
OKLaboklab(23.58% 0.0581 -0.0511)
OKLCHoklch(23.58% 0.077 318.7)
XYZxyz(1.8955, 1.1567, 3.4909)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0F35 #17350F
analogous
#1A0F35 #2D0F35 #350F2A
triadic
#2D0F35 #352D0F #0F352D
tetradic
#2D0F35 #351A0F #17350F #0F2A35
square
#2D0F35 #351A0F #17350F #0F2A35
split-complementary
#2D0F35 #2A350F #0F351A
monochromatic
#140718 #140718 #2D0F35 #551C65 #7E2A94

Accessibility & contrast

On white

17.05
#2D0F35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0F35
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0F35#FFFFFF#000000##FFFFFF
##2D0F351.0017.051.2317.05
#FFFFFF17.051.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061A36
Deuteranopia (green-blind)
#111D34
Tritanopia (blue-blind)
#2D1520
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2d0f35;
/* rgb */ color: rgb(45, 15, 53);
/* oklch */ color: oklch(23.6% 0.077 318.7);
Tailwind
colors: {
  custom: {
    50: '#674f6c',
    500: '#2d0f35',
    950: '#000000',
  },
}
SCSS
$custom: #2d0f35;
$custom-light: #674f6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0f35",
  "rgb": {
    "r": 45,
    "g": 15,
    "b": 53
  },
  "hsl": {
    "h": 287.368,
    "s": 55.882,
    "l": 13.333
  },
  "oklch": {
    "l": 0.23578,
    "c": 0.07737,
    "h": 318.7
  },
  "luminance": 0.01157
}

Semantic roles & 50–950 ramp

primary
#2D0F35
secondary
#3E6F31
accent
#DF4968
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060207
muted
#7A787A

Preview Lab

Preview with #2D0F35

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

Preview Lab → · Contrast checker → · Palette generator →

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