#2D122E#2D122E

#2D122E is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.6% C 0.063 H 326.0°. Best body text is #FFFFFF at 16.97:1 contrast (WCAG AA passes).

Color values

HEX#2D122E
RGBrgb(45, 18, 46)
HSLhsl(298, 44%, 13%)
HSVhsv(298, 61%, 18%)
CMYKcmyk(2.2%, 60.9%, 0%, 82%)
CIE-LABlab(10.47, 18.98, -12.82)
CIE-LCHlch(10.47, 22.91, 325.96°)
OKLaboklab(23.6% 0.0523 -0.0353)
OKLCHoklch(23.6% 0.063 326)
XYZxyz(1.7916, 1.1879, 2.7191)
Luminance0.0119 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D122E #132E12
analogous
#1F122E #2D122E #2E1221
triadic
#2D122E #2E2D12 #122E2D
tetradic
#2D122E #2E1F12 #132E12 #12212E
square
#2D122E #2E1F12 #132E12 #12212E
split-complementary
#2D122E #212E12 #122E1F
monochromatic
#160916 #160916 #2D122E #58235A #833486

Accessibility & contrast

On white

16.97
#2D122E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#2D122E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D122E
16.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D122E#FFFFFF#000000##FFFFFF
##2D122E1.0016.971.2416.97
#FFFFFF16.971.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1A2F
Deuteranopia (green-blind)
#171E2D
Tritanopia (blue-blind)
#2E151D
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2d122e;
/* rgb */ color: rgb(45, 18, 46);
/* oklch */ color: oklch(23.6% 0.063 326.0);
Tailwind
colors: {
  custom: {
    50: '#675166',
    500: '#2d122e',
    950: '#000000',
  },
}
SCSS
$custom: #2d122e;
$custom-light: #675166;
$custom-dark: #000000;
JSON
{
  "hex": "#2d122e",
  "rgb": {
    "r": 45,
    "g": 18,
    "b": 46
  },
  "hsl": {
    "h": 297.857,
    "s": 43.75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.23604,
    "c": 0.06307,
    "h": 326
  },
  "luminance": 0.01188
}

Semantic roles & 50–950 ramp

primary
#2D122E
secondary
#386636
accent
#D35459
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2D122E

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

Preview Lab → · Contrast checker → · Palette generator →

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