#2D102E#2D102E

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

Color values

HEX#2D102E
RGBrgb(45, 16, 46)
HSLhsl(298, 48%, 12%)
HSVhsv(298, 65%, 18%)
CMYKcmyk(2.2%, 65.2%, 0%, 82%)
CIE-LABlab(10.00, 20.23, -13.56)
CIE-LCHlch(10.00, 24.36, 326.17°)
OKLaboklab(23.26% 0.0558 -0.0374)
OKLCHoklch(23.26% 0.067 326.2)
XYZxyz(1.7606, 1.1258, 2.7088)
Luminance0.0113 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D102E #112E10
analogous
#1E102E #2D102E #2E1020
triadic
#2D102E #2E2D10 #102E2D
tetradic
#2D102E #2E1E10 #112E10 #10202E
square
#2D102E #2E1E10 #112E10 #10202E
split-complementary
#2D102E #202E10 #102E1E
monochromatic
#160817 #160817 #2D102E #59205B #863089

Accessibility & contrast

On white

17.14
#2D102E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D102E
17.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D102E#FFFFFF#000000##FFFFFF
##2D102E1.0017.141.2317.14
#FFFFFF17.141.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D192F
Deuteranopia (green-blind)
#161D2D
Tritanopia (blue-blind)
#2E141D
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2d102e;
/* rgb */ color: rgb(45, 16, 46);
/* oklch */ color: oklch(23.3% 0.067 326.2);
Tailwind
colors: {
  custom: {
    50: '#675067',
    500: '#2d102e',
    950: '#000000',
  },
}
SCSS
$custom: #2d102e;
$custom-light: #675067;
$custom-dark: #000000;
JSON
{
  "hex": "#2d102e",
  "rgb": {
    "r": 45,
    "g": 16,
    "b": 46
  },
  "hsl": {
    "h": 298,
    "s": 48.387,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23258,
    "c": 0.06714,
    "h": 326.2
  },
  "luminance": 0.01126
}

Semantic roles & 50–950 ramp

primary
#2D102E
secondary
#356733
accent
#D85054
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2D102E

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

Preview Lab → · Contrast checker → · Palette generator →

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