#2D0B38#2D0B38

#2D0B38 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.2% C 0.088 H 316.7°. Best body text is #FFFFFF at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#2D0B38
RGBrgb(45, 11, 56)
HSLhsl(285, 67%, 13%)
HSVhsv(285, 80%, 22%)
CMYKcmyk(19.6%, 80.4%, 0%, 78%)
CIE-LABlab(9.66, 25.45, -21.39)
CIE-LCHlch(9.66, 33.25, 319.96°)
OKLaboklab(23.24% 0.0637 -0.0601)
OKLCHoklch(23.24% 0.088 316.7)
XYZxyz(1.9156, 1.0828, 3.8487)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0B38 #16380B
analogous
#160B38 #2D0B38 #380B2C
triadic
#2D0B38 #382D0B #0B382D
tetradic
#2D0B38 #38160B #16380B #0B2C38
square
#2D0B38 #38160B #16380B #0B2C38
split-complementary
#2D0B38 #2C380B #0B3816
monochromatic
#15051A #15051A #2D0B38 #56156B #7F1F9E

Accessibility & contrast

On white

17.26
#2D0B38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#2D0B38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0B38
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0B38#FFFFFF#000000##FFFFFF
##2D0B381.0017.261.2217.26
#FFFFFF17.261.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001939
Deuteranopia (green-blind)
#0B1C37
Tritanopia (blue-blind)
#2C1420
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2d0b38;
/* rgb */ color: rgb(45, 11, 56);
/* oklch */ color: oklch(23.2% 0.088 316.7);
Tailwind
colors: {
  custom: {
    50: '#684d6f',
    500: '#2d0b38',
    950: '#000000',
  },
}
SCSS
$custom: #2d0b38;
$custom-light: #684d6f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0b38",
  "rgb": {
    "r": 45,
    "g": 11,
    "b": 56
  },
  "hsl": {
    "h": 285.333,
    "s": 67.164,
    "l": 13.137
  },
  "oklch": {
    "l": 0.23238,
    "c": 0.08759,
    "h": 316.7
  },
  "luminance": 0.01083
}

Semantic roles & 50–950 ramp

primary
#2D0B38
secondary
#3C752A
accent
#EA3E68
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2D0B38

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

Preview Lab → · Contrast checker → · Palette generator →

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