#2D0B35#2D0B35

#2D0B35 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.0% C 0.084 H 319.4°. Best body text is #FFFFFF at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#2D0B35
RGBrgb(45, 11, 53)
HSLhsl(289, 66%, 13%)
HSVhsv(289, 79%, 21%)
CMYKcmyk(15.1%, 79.2%, 0%, 79.2%)
CIE-LABlab(9.44, 24.72, -19.58)
CIE-LCHlch(9.44, 31.53, 321.62°)
OKLaboklab(23% 0.0639 -0.0548)
OKLCHoklch(23% 0.084 319.4)
XYZxyz(1.8444, 1.0544, 3.4738)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0B35 #13350B
analogous
#180B35 #2D0B35 #350B28
triadic
#2D0B35 #352D0B #0B352D
tetradic
#2D0B35 #35180B #13350B #0B2835
square
#2D0B35 #35180B #13350B #0B2835
split-complementary
#2D0B35 #28350B #0B3518
monochromatic
#160519 #160519 #2D0B35 #581668 #83209A

Accessibility & contrast

On white

17.34
#2D0B35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2D0B35 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0B35
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0B35#FFFFFF#000000##FFFFFF
##2D0B351.0017.341.2117.34
#FFFFFF17.341.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011836
Deuteranopia (green-blind)
#0E1C34
Tritanopia (blue-blind)
#2D131E
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2d0b35;
/* rgb */ color: rgb(45, 11, 53);
/* oklch */ color: oklch(23.0% 0.084 319.4);
Tailwind
colors: {
  custom: {
    50: '#684d6c',
    500: '#2d0b35',
    950: '#000000',
  },
}
SCSS
$custom: #2d0b35;
$custom-light: #684d6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0b35",
  "rgb": {
    "r": 45,
    "g": 11,
    "b": 53
  },
  "hsl": {
    "h": 288.571,
    "s": 65.625,
    "l": 12.549
  },
  "oklch": {
    "l": 0.23002,
    "c": 0.08419,
    "h": 319.4
  },
  "luminance": 0.01054
}

Semantic roles & 50–950 ramp

primary
#2D0B35
secondary
#38722A
accent
#E93F5F
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2D0B35

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

Preview Lab → · Contrast checker → · Palette generator →

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