#2D0C2E#2D0C2E

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

Color values

HEX#2D0C2E
RGBrgb(45, 12, 46)
HSLhsl(298, 59%, 11%)
HSVhsv(298, 74%, 18%)
CMYKcmyk(2.2%, 73.9%, 0%, 82%)
CIE-LABlab(9.14, 22.56, -14.91)
CIE-LCHlch(9.14, 27.04, 326.55°)
OKLaboklab(22.63% 0.0623 -0.0412)
OKLCHoklch(22.63% 0.075 326.5)
XYZxyz(1.7068, 1.0182, 2.6909)
Luminance0.0102 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0C2E #0D2E0C
analogous
#1C0C2E #2D0C2E #2E0C1E
triadic
#2D0C2E #2E2D0C #0C2E2D
tetradic
#2D0C2E #2E1C0C #0D2E0C #0C1E2E
square
#2D0C2E #2E1C0C #0D2E0C #0C1E2E
split-complementary
#2D0C2E #1E2E0C #0C2E1C
monochromatic
#180618 #180618 #2D0C2E #5C195F #8C258F

Accessibility & contrast

On white

17.45
#2D0C2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0C2E
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0C2E#FFFFFF#000000##FFFFFF
##2D0C2E1.0017.451.2017.45
#FFFFFF17.451.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07172F
Deuteranopia (green-blind)
#131B2D
Tritanopia (blue-blind)
#2E111B
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2d0c2e;
/* rgb */ color: rgb(45, 12, 46);
/* oklch */ color: oklch(22.6% 0.075 326.5);
Tailwind
colors: {
  custom: {
    50: '#674d67',
    500: '#2d0c2e',
    950: '#000000',
  },
}
SCSS
$custom: #2d0c2e;
$custom-light: #674d67;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0c2e",
  "rgb": {
    "r": 45,
    "g": 12,
    "b": 46
  },
  "hsl": {
    "h": 298.235,
    "s": 58.621,
    "l": 11.373
  },
  "oklch": {
    "l": 0.22633,
    "c": 0.0747,
    "h": 326.5
  },
  "luminance": 0.01018
}

Semantic roles & 50–950 ramp

primary
#2D0C2E
secondary
#2E6A2C
accent
#E2464B
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2D0C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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