#2D102C#2D102C

#2D102C is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.1% C 0.065 H 328.7°. Best body text is #FFFFFF at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#2D102C
RGBrgb(45, 16, 44)
HSLhsl(302, 48%, 12%)
HSVhsv(302, 64%, 18%)
CMYKcmyk(0%, 64.4%, 2.2%, 82.4%)
CIE-LABlab(9.88, 19.78, -12.27)
CIE-LCHlch(9.88, 23.27, 328.18°)
OKLaboklab(23.13% 0.0554 -0.0336)
OKLCHoklch(23.13% 0.065 328.7)
XYZxyz(1.7221, 1.1104, 2.5060)
Luminance0.0111 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D102C #102D11
analogous
#20102D #2D102C #2D101E
triadic
#2D102C #2C2D10 #102C2D
tetradic
#2D102C #2D2010 #102D11 #101E2D
square
#2D102C #2D2010 #102D11 #101E2D
split-complementary
#2D102C #1E2D10 #102D20
monochromatic
#170816 #170816 #2D102C #5A2058 #873084

Accessibility & contrast

On white

17.18
#2D102C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D102C
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D102C#FFFFFF#000000##FFFFFF
##2D102C1.0017.181.2217.18
#FFFFFF17.181.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E192D
Deuteranopia (green-blind)
#171D2B
Tritanopia (blue-blind)
#2F131C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2d102c;
/* rgb */ color: rgb(45, 16, 44);
/* oklch */ color: oklch(23.1% 0.065 328.7);
Tailwind
colors: {
  custom: {
    50: '#675065',
    500: '#2d102c',
    950: '#000000',
  },
}
SCSS
$custom: #2d102c;
$custom-light: #675065;
$custom-dark: #000000;
JSON
{
  "hex": "#2d102c",
  "rgb": {
    "r": 45,
    "g": 16,
    "b": 44
  },
  "hsl": {
    "h": 302.069,
    "s": 47.541,
    "l": 11.961
  },
  "oklch": {
    "l": 0.23132,
    "c": 0.06484,
    "h": 328.7
  },
  "luminance": 0.0111
}

Semantic roles & 50–950 ramp

primary
#2D102C
secondary
#336635
accent
#D75551
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060205
muted
#7A787A

Preview Lab

Preview with #2D102C

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

Preview Lab → · Contrast checker → · Palette generator →

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