#2D0935#2D0935

#2D0935 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.7% C 0.087 H 319.7°. Best body text is #FFFFFF at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#2D0935
RGBrgb(45, 9, 53)
HSLhsl(289, 71%, 12%)
HSVhsv(289, 83%, 21%)
CMYKcmyk(15.1%, 83%, 0%, 79.2%)
CIE-LABlab(9.08, 25.73, -20.15)
CIE-LCHlch(9.08, 32.68, 321.94°)
OKLaboklab(22.75% 0.0666 -0.0564)
OKLCHoklch(22.75% 0.087 319.7)
XYZxyz(1.8224, 1.0104, 3.4665)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0935 #113509
analogous
#170935 #2D0935 #350927
triadic
#2D0935 #352D09 #09352D
tetradic
#2D0935 #351709 #113509 #092735
square
#2D0935 #351709 #113509 #092735
split-complementary
#2D0935 #273509 #093517
monochromatic
#16041A #16041A #2D0935 #591269 #861B9E

Accessibility & contrast

On white

17.47
#2D0935 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0935
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0935#FFFFFF#000000##FFFFFF
##2D09351.0017.471.2017.47
#FFFFFF17.471.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001736
Deuteranopia (green-blind)
#0D1B34
Tritanopia (blue-blind)
#2D111E
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2d0935;
/* rgb */ color: rgb(45, 9, 53);
/* oklch */ color: oklch(22.7% 0.087 319.7);
Tailwind
colors: {
  custom: {
    50: '#684c6c',
    500: '#2d0935',
    950: '#000000',
  },
}
SCSS
$custom: #2d0935;
$custom-light: #684c6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0935",
  "rgb": {
    "r": 45,
    "g": 9,
    "b": 53
  },
  "hsl": {
    "h": 289.091,
    "s": 70.968,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22745,
    "c": 0.0873,
    "h": 319.7
  },
  "luminance": 0.0101
}

Semantic roles & 50–950 ramp

primary
#2D0935
secondary
#357327
accent
#EE3A5B
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2D0935

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

Preview Lab → · Contrast checker → · Palette generator →

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