#2D102B#2D102B

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

Color values

HEX#2D102B
RGBrgb(45, 16, 43)
HSLhsl(304, 48%, 12%)
HSVhsv(304, 64%, 18%)
CMYKcmyk(0%, 64.4%, 4.4%, 82.4%)
CIE-LABlab(9.82, 19.55, -11.62)
CIE-LCHlch(9.82, 22.74, 329.27°)
OKLaboklab(23.07% 0.0552 -0.0318)
OKLCHoklch(23.07% 0.064 330.1)
XYZxyz(1.7035, 1.1030, 2.4082)
Luminance0.0110 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D102B #102D12
analogous
#21102D #2D102B #2D101D
triadic
#2D102B #2B2D10 #102B2D
tetradic
#2D102B #2D2110 #102D12 #101D2D
square
#2D102B #2D2110 #102D12 #101D2D
split-complementary
#2D102B #1D2D10 #102D21
monochromatic
#170816 #170816 #2D102B #5A2056 #873081

Accessibility & contrast

On white

17.20
#2D102B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D102B
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D102B#FFFFFF#000000##FFFFFF
##2D102B1.0017.201.2217.20
#FFFFFF17.201.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E192C
Deuteranopia (green-blind)
#171D2A
Tritanopia (blue-blind)
#2F131B
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2d102b;
/* rgb */ color: rgb(45, 16, 43);
/* oklch */ color: oklch(23.1% 0.064 330.1);
Tailwind
colors: {
  custom: {
    50: '#675064',
    500: '#2d102b',
    950: '#000000',
  },
}
SCSS
$custom: #2d102b;
$custom-light: #675064;
$custom-dark: #000000;
JSON
{
  "hex": "#2d102b",
  "rgb": {
    "r": 45,
    "g": 16,
    "b": 43
  },
  "hsl": {
    "h": 304.138,
    "s": 47.541,
    "l": 11.961
  },
  "oklch": {
    "l": 0.2307,
    "c": 0.06373,
    "h": 330.1
  },
  "luminance": 0.01103
}

Semantic roles & 50–950 ramp

primary
#2D102B
secondary
#336636
accent
#D75A51
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060205
muted
#7A787A

Preview Lab

Preview with #2D102B

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

Preview Lab → · Contrast checker → · Palette generator →

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