#2D102D#2D102D

#2D102D is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.2% C 0.066 H 327.4°. Best body text is #FFFFFF at 17.16:1 contrast (WCAG AA passes).

Color values

HEX#2D102D
RGBrgb(45, 16, 45)
HSLhsl(300, 48%, 12%)
HSVhsv(300, 64%, 18%)
CMYKcmyk(0%, 64.4%, 0%, 82.4%)
CIE-LABlab(9.94, 20.00, -12.92)
CIE-LCHlch(9.94, 23.81, 327.15°)
OKLaboklab(23.2% 0.0556 -0.0355)
OKLCHoklch(23.2% 0.066 327.4)
XYZxyz(1.7411, 1.1180, 2.6062)
Luminance0.0112 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D102D #102D10
analogous
#1F102D #2D102D #2D101F
triadic
#2D102D #2D2D10 #102D2D
tetradic
#2D102D #2D1F10 #102D10 #101F2D
square
#2D102D #2D1F10 #102D10 #101F2D
split-complementary
#2D102D #1F2D10 #102D1F
monochromatic
#170817 #170817 #2D102D #5A205A #873087

Accessibility & contrast

On white

17.16
#2D102D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#2D102D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D102D
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D102D#FFFFFF#000000##FFFFFF
##2D102D1.0017.161.2217.16
#FFFFFF17.161.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D192E
Deuteranopia (green-blind)
#161D2C
Tritanopia (blue-blind)
#2E131C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2d102d;
/* rgb */ color: rgb(45, 16, 45);
/* oklch */ color: oklch(23.2% 0.066 327.4);
Tailwind
colors: {
  custom: {
    50: '#675066',
    500: '#2d102d',
    950: '#000000',
  },
}
SCSS
$custom: #2d102d;
$custom-light: #675066;
$custom-dark: #000000;
JSON
{
  "hex": "#2d102d",
  "rgb": {
    "r": 45,
    "g": 16,
    "b": 45
  },
  "hsl": {
    "h": 300,
    "s": 47.541,
    "l": 11.961
  },
  "oklch": {
    "l": 0.23195,
    "c": 0.06599,
    "h": 327.4
  },
  "luminance": 0.01118
}

Semantic roles & 50–950 ramp

primary
#2D102D
secondary
#336633
accent
#D75151
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060205
muted
#7A787A

Preview Lab

Preview with #2D102D

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

Preview Lab → · Contrast checker → · Palette generator →

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