#2D0B2F#2D0B2F

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

Color values

HEX#2D0B2F
RGBrgb(45, 11, 47)
HSLhsl(297, 62%, 11%)
HSVhsv(297, 77%, 18%)
CMYKcmyk(4.3%, 76.6%, 0%, 81.6%)
CIE-LABlab(9.01, 23.33, -15.85)
CIE-LCHlch(9.01, 28.20, 325.80°)
OKLaboklab(22.56% 0.0639 -0.0439)
OKLCHoklch(22.56% 0.078 325.5)
XYZxyz(1.7149, 1.0026, 2.7920)
Luminance0.0100 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0B2F #0D2F0B
analogous
#1B0B2F #2D0B2F #2F0B1F
triadic
#2D0B2F #2F2D0B #0B2F2D
tetradic
#2D0B2F #2F1B0B #0D2F0B #0B1F2F
square
#2D0B2F #2F1B0B #0D2F0B #0B1F2F
split-complementary
#2D0B2F #1F2F0B #0B2F1B
monochromatic
#180619 #180619 #2D0B2F #5C1761 #8C2292

Accessibility & contrast

On white

17.49
#2D0B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0B2F
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0B2F#FFFFFF#000000##FFFFFF
##2D0B2F1.0017.491.2017.49
#FFFFFF17.491.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061730
Deuteranopia (green-blind)
#121B2E
Tritanopia (blue-blind)
#2E101B
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2d0b2f;
/* rgb */ color: rgb(45, 11, 47);
/* oklch */ color: oklch(22.6% 0.078 325.5);
Tailwind
colors: {
  custom: {
    50: '#674d67',
    500: '#2d0b2f',
    950: '#000000',
  },
}
SCSS
$custom: #2d0b2f;
$custom-light: #674d67;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0b2f",
  "rgb": {
    "r": 45,
    "g": 11,
    "b": 47
  },
  "hsl": {
    "h": 296.667,
    "s": 62.069,
    "l": 11.373
  },
  "oklch": {
    "l": 0.2256,
    "c": 0.07753,
    "h": 325.5
  },
  "luminance": 0.01002
}

Semantic roles & 50–950 ramp

primary
#2D0B2F
secondary
#2E6B2A
accent
#E5434C
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2D0B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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