#2D122B#2D122B

#2D122B is a very dark, muted purple. Relative luminance 0.012; OKLCH L 23.4% C 0.060 H 330.1°. Best body text is #FFFFFF at 17.03:1 contrast (WCAG AA passes).

Color values

HEX#2D122B
RGBrgb(45, 18, 43)
HSLhsl(304, 43%, 12%)
HSVhsv(304, 60%, 18%)
CMYKcmyk(0%, 60%, 4.4%, 82.4%)
CIE-LABlab(10.30, 18.29, -10.88)
CIE-LCHlch(10.30, 21.28, 329.25°)
OKLaboklab(23.42% 0.0517 -0.0297)
OKLCHoklch(23.42% 0.06 330.1)
XYZxyz(1.7345, 1.1650, 2.4185)
Luminance0.0117 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D122B #122D14
analogous
#21122D #2D122B #2D121E
triadic
#2D122B #2B2D12 #122B2D
tetradic
#2D122B #2D2112 #122D14 #121E2D
square
#2D122B #2D2112 #122D14 #121E2D
split-complementary
#2D122B #1E2D12 #122D21
monochromatic
#160915 #160915 #2D122B #592355 #84357F

Accessibility & contrast

On white

17.03
#2D122B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#2D122B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D122B
17.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D122B#FFFFFF#000000##FFFFFF
##2D122B1.0017.031.2317.03
#FFFFFF17.031.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111A2C
Deuteranopia (green-blind)
#181D2A
Tritanopia (blue-blind)
#2F141C
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2d122b;
/* rgb */ color: rgb(45, 18, 43);
/* oklch */ color: oklch(23.4% 0.060 330.1);
Tailwind
colors: {
  custom: {
    50: '#675164',
    500: '#2d122b',
    950: '#000000',
  },
}
SCSS
$custom: #2d122b;
$custom-light: #675164;
$custom-dark: #000000;
JSON
{
  "hex": "#2d122b",
  "rgb": {
    "r": 45,
    "g": 18,
    "b": 43
  },
  "hsl": {
    "h": 304.444,
    "s": 42.857,
    "l": 12.353
  },
  "oklch": {
    "l": 0.23422,
    "c": 0.05958,
    "h": 330.1
  },
  "luminance": 0.01165
}

Semantic roles & 50–950 ramp

primary
#2D122B
secondary
#36653A
accent
#D35E55
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060205
muted
#7A787A

Preview Lab

Preview with #2D122B

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

Preview Lab → · Contrast checker → · Palette generator →

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