#2C102E#2C102E

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

Color values

HEX#2C102E
RGBrgb(44, 16, 46)
HSLhsl(296, 48%, 12%)
HSVhsv(296, 65%, 18%)
CMYKcmyk(4.3%, 65.2%, 0%, 82%)
CIE-LABlab(9.82, 19.88, -13.85)
CIE-LCHlch(9.82, 24.23, 325.15°)
OKLaboklab(23.1% 0.0543 -0.0382)
OKLCHoklch(23.1% 0.066 324.9)
XYZxyz(1.7171, 1.1034, 2.7068)
Luminance0.0110 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C102E #122E10
analogous
#1D102E #2C102E #2E1021
triadic
#2C102E #2E2C10 #102E2C
tetradic
#2C102E #2E1D10 #122E10 #10212E
square
#2C102E #2E1D10 #122E10 #10212E
split-complementary
#2C102E #212E10 #102E1D
monochromatic
#160817 #160817 #2C102E #57205B #833089

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C102E#FFFFFF#000000##FFFFFF
##2C102E1.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)
#0C192F
Deuteranopia (green-blind)
#151C2D
Tritanopia (blue-blind)
#2D141D
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2c102e;
/* rgb */ color: rgb(44, 16, 46);
/* oklch */ color: oklch(23.1% 0.066 324.9);
Tailwind
colors: {
  custom: {
    50: '#665067',
    500: '#2c102e',
    950: '#000000',
  },
}
SCSS
$custom: #2c102e;
$custom-light: #665067;
$custom-dark: #000000;
JSON
{
  "hex": "#2c102e",
  "rgb": {
    "r": 44,
    "g": 16,
    "b": 46
  },
  "hsl": {
    "h": 296,
    "s": 48.387,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23095,
    "c": 0.0664,
    "h": 324.9
  },
  "luminance": 0.01103
}

Semantic roles & 50–950 ramp

primary
#2C102E
secondary
#366733
accent
#D85059
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2C102E

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

Preview Lab → · Contrast checker → · Palette generator →

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