#2D0835#2D0835

#2D0835 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.6% C 0.089 H 319.9°. Best body text is #FFFFFF at 17.53:1 contrast (WCAG AA passes).

Color values

HEX#2D0835
RGBrgb(45, 8, 53)
HSLhsl(289, 74%, 12%)
HSVhsv(289, 85%, 21%)
CMYKcmyk(15.1%, 84.9%, 0%, 79.2%)
CIE-LABlab(8.90, 26.24, -20.44)
CIE-LCHlch(8.90, 33.26, 322.09°)
OKLaboklab(22.62% 0.068 -0.0573)
OKLCHoklch(22.62% 0.089 319.9)
XYZxyz(1.8115, 0.9887, 3.4629)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0835 #103508
analogous
#170835 #2D0835 #350827
triadic
#2D0835 #352D08 #08352D
tetradic
#2D0835 #351708 #103508 #082735
square
#2D0835 #351708 #103508 #082735
split-complementary
#2D0835 #273508 #083517
monochromatic
#17041B #17041B #2D0835 #5A106A #87189F

Accessibility & contrast

On white

17.53
#2D0835 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#2D0835 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0835
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0835#FFFFFF#000000##FFFFFF
##2D08351.0017.531.2017.53
#FFFFFF17.531.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001736
Deuteranopia (green-blind)
#0C1B34
Tritanopia (blue-blind)
#2D111D
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2d0835;
/* rgb */ color: rgb(45, 8, 53);
/* oklch */ color: oklch(22.6% 0.089 319.9);
Tailwind
colors: {
  custom: {
    50: '#684b6c',
    500: '#2d0835',
    950: '#000000',
  },
}
SCSS
$custom: #2d0835;
$custom-light: #684b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0835",
  "rgb": {
    "r": 45,
    "g": 8,
    "b": 53
  },
  "hsl": {
    "h": 289.333,
    "s": 73.77,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22616,
    "c": 0.08889,
    "h": 319.9
  },
  "luminance": 0.00989
}

Semantic roles & 50–950 ramp

primary
#2D0835
secondary
#337425
accent
#F03758
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2D0835

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

Preview Lab → · Contrast checker → · Palette generator →

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