#2C102F#2C102F

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

Color values

HEX#2C102F
RGBrgb(44, 16, 47)
HSLhsl(294, 49%, 12%)
HSVhsv(294, 66%, 18%)
CMYKcmyk(6.4%, 66%, 0%, 81.6%)
CIE-LABlab(9.89, 20.12, -14.48)
CIE-LCHlch(9.89, 24.79, 324.25°)
OKLaboklab(23.16% 0.0545 -0.04)
OKLCHoklch(23.16% 0.068 323.7)
XYZxyz(1.7370, 1.1114, 2.8118)
Luminance0.0111 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C102F #132F10
analogous
#1D102F #2C102F #2F1022
triadic
#2C102F #2F2C10 #102F2C
tetradic
#2C102F #2F1D10 #132F10 #10222F
square
#2C102F #2F1D10 #132F10 #10222F
split-complementary
#2C102F #222F10 #102F1D
monochromatic
#150817 #150817 #2C102F #57205D #812F8A

Accessibility & contrast

On white

17.18
#2C102F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C102F
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C102F#FFFFFF#000000##FFFFFF
##2C102F1.0017.181.2217.18
#FFFFFF17.181.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1930
Deuteranopia (green-blind)
#141C2E
Tritanopia (blue-blind)
#2D141D
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2c102f;
/* rgb */ color: rgb(44, 16, 47);
/* oklch */ color: oklch(23.2% 0.068 323.7);
Tailwind
colors: {
  custom: {
    50: '#665067',
    500: '#2c102f',
    950: '#000000',
  },
}
SCSS
$custom: #2c102f;
$custom-light: #665067;
$custom-dark: #000000;
JSON
{
  "hex": "#2c102f",
  "rgb": {
    "r": 44,
    "g": 16,
    "b": 47
  },
  "hsl": {
    "h": 294.194,
    "s": 49.206,
    "l": 12.353
  },
  "oklch": {
    "l": 0.23161,
    "c": 0.06759,
    "h": 323.7
  },
  "luminance": 0.01111
}

Semantic roles & 50–950 ramp

primary
#2C102F
secondary
#386833
accent
#D94F5C
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2C102F

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

Preview Lab → · Contrast checker → · Palette generator →

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