#2D102F#2D102F

#2D102F is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.3% C 0.068 H 325.0°. Best body text is #FFFFFF at 17.12:1 contrast (WCAG AA passes).

Color values

HEX#2D102F
RGBrgb(45, 16, 47)
HSLhsl(296, 49%, 12%)
HSVhsv(296, 66%, 18%)
CMYKcmyk(4.3%, 66%, 0%, 81.6%)
CIE-LABlab(10.06, 20.47, -14.20)
CIE-LCHlch(10.06, 24.91, 325.25°)
OKLaboklab(23.32% 0.0559 -0.0392)
OKLCHoklch(23.32% 0.068 325)
XYZxyz(1.7805, 1.1338, 2.8138)
Luminance0.0113 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D102F #122F10
analogous
#1E102F #2D102F #2F1022
triadic
#2D102F #2F2D10 #102F2D
tetradic
#2D102F #2F1E10 #122F10 #10222F
square
#2D102F #2F1E10 #122F10 #10222F
split-complementary
#2D102F #222F10 #102F1E
monochromatic
#160817 #160817 #2D102F #59205D #842F8A

Accessibility & contrast

On white

17.12
#2D102F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#2D102F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D102F
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D102F#FFFFFF#000000##FFFFFF
##2D102F1.0017.121.2317.12
#FFFFFF17.121.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1930
Deuteranopia (green-blind)
#151D2E
Tritanopia (blue-blind)
#2E141D
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2d102f;
/* rgb */ color: rgb(45, 16, 47);
/* oklch */ color: oklch(23.3% 0.068 325.0);
Tailwind
colors: {
  custom: {
    50: '#675067',
    500: '#2d102f',
    950: '#000000',
  },
}
SCSS
$custom: #2d102f;
$custom-light: #675067;
$custom-dark: #000000;
JSON
{
  "hex": "#2d102f",
  "rgb": {
    "r": 45,
    "g": 16,
    "b": 47
  },
  "hsl": {
    "h": 296.129,
    "s": 49.206,
    "l": 12.353
  },
  "oklch": {
    "l": 0.23323,
    "c": 0.0683,
    "h": 325
  },
  "luminance": 0.01134
}

Semantic roles & 50–950 ramp

primary
#2D102F
secondary
#366833
accent
#D94F58
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2D102F

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

Preview Lab → · Contrast checker → · Palette generator →

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