#2C102D#2C102D

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

Color values

HEX#2C102D
RGBrgb(44, 16, 45)
HSLhsl(298, 48%, 12%)
HSVhsv(298, 64%, 18%)
CMYKcmyk(2.2%, 64.4%, 0%, 82.4%)
CIE-LABlab(9.76, 19.65, -13.20)
CIE-LCHlch(9.76, 23.67, 326.10°)
OKLaboklab(23.03% 0.0542 -0.0364)
OKLCHoklch(23.03% 0.065 326.1)
XYZxyz(1.6976, 1.0956, 2.6042)
Luminance0.0110 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C102D #112D10
analogous
#1E102D #2C102D #2D1020
triadic
#2C102D #2D2C10 #102D2C
tetradic
#2C102D #2D1E10 #112D10 #10202D
square
#2C102D #2D1E10 #112D10 #10202D
split-complementary
#2C102D #202D10 #102D1E
monochromatic
#160817 #160817 #2C102D #58205A #843087

Accessibility & contrast

On white

17.22
#2C102D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C102D
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C102D#FFFFFF#000000##FFFFFF
##2C102D1.0017.221.2217.22
#FFFFFF17.221.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D192E
Deuteranopia (green-blind)
#151C2C
Tritanopia (blue-blind)
#2D131C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2c102d;
/* rgb */ color: rgb(44, 16, 45);
/* oklch */ color: oklch(23.0% 0.065 326.1);
Tailwind
colors: {
  custom: {
    50: '#664f66',
    500: '#2c102d',
    950: '#000000',
  },
}
SCSS
$custom: #2c102d;
$custom-light: #664f66;
$custom-dark: #000000;
JSON
{
  "hex": "#2c102d",
  "rgb": {
    "r": 44,
    "g": 16,
    "b": 45
  },
  "hsl": {
    "h": 297.931,
    "s": 47.541,
    "l": 11.961
  },
  "oklch": {
    "l": 0.2303,
    "c": 0.06522,
    "h": 326.1
  },
  "luminance": 0.01096
}

Semantic roles & 50–950 ramp

primary
#2C102D
secondary
#356633
accent
#D75155
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060205
muted
#7A787A

Preview Lab

Preview with #2C102D

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

Preview Lab → · Contrast checker → · Palette generator →

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