#2D0A2F#2D0A2F

#2D0A2F is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.4% C 0.079 H 325.6°. Best body text is #FFFFFF at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#2D0A2F
RGBrgb(45, 10, 47)
HSLhsl(297, 65%, 11%)
HSVhsv(297, 79%, 18%)
CMYKcmyk(4.3%, 78.7%, 0%, 81.6%)
CIE-LABlab(8.83, 23.85, -16.15)
CIE-LCHlch(8.83, 28.80, 325.90°)
OKLaboklab(22.43% 0.0653 -0.0448)
OKLCHoklch(22.43% 0.079 325.6)
XYZxyz(1.7038, 0.9803, 2.7883)
Luminance0.0098 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0A2F #0C2F0A
analogous
#1A0A2F #2D0A2F #2F0A1E
triadic
#2D0A2F #2F2D0A #0A2F2D
tetradic
#2D0A2F #2F1A0A #0C2F0A #0A1E2F
square
#2D0A2F #2F1A0A #0C2F0A #0A1E2F
split-complementary
#2D0A2F #1E2F0A #0A2F1A
monochromatic
#180519 #180519 #2D0A2F #5D1561 #8E1F94

Accessibility & contrast

On white

17.56
#2D0A2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0A2F
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0A2F#FFFFFF#000000##FFFFFF
##2D0A2F1.0017.561.2017.56
#FFFFFF17.561.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051630
Deuteranopia (green-blind)
#111B2E
Tritanopia (blue-blind)
#2E0F1B
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2d0a2f;
/* rgb */ color: rgb(45, 10, 47);
/* oklch */ color: oklch(22.4% 0.079 325.6);
Tailwind
colors: {
  custom: {
    50: '#684c67',
    500: '#2d0a2f',
    950: '#000000',
  },
}
SCSS
$custom: #2d0a2f;
$custom-light: #684c67;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0a2f",
  "rgb": {
    "r": 45,
    "g": 10,
    "b": 47
  },
  "hsl": {
    "h": 296.757,
    "s": 64.912,
    "l": 11.176
  },
  "oklch": {
    "l": 0.22425,
    "c": 0.0792,
    "h": 325.6
  },
  "luminance": 0.0098
}

Semantic roles & 50–950 ramp

primary
#2D0A2F
secondary
#2C6C29
accent
#E84049
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2D0A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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