#2C182E#2C182E

#2C182E is a very dark, muted purple. Relative luminance 0.014; OKLCH L 24.6% C 0.049 H 323.7°. Best body text is #FFFFFF at 16.44:1 contrast (WCAG AA passes).

Color values

HEX#2C182E
RGBrgb(44, 24, 46)
HSLhsl(295, 31%, 14%)
HSVhsv(295, 48%, 18%)
CMYKcmyk(4.3%, 47.8%, 0%, 82%)
CIE-LABlab(11.86, 14.59, -10.66)
CIE-LCHlch(11.86, 18.08, 323.84°)
OKLaboklab(24.61% 0.0397 -0.0292)
OKLCHoklch(24.61% 0.049 323.7)
XYZxyz(1.8584, 1.3861, 2.7539)
Luminance0.0139 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C182E #1A2E18
analogous
#21182E #2C182E #2E1825
triadic
#2C182E #2E2C18 #182E2C
tetradic
#2C182E #2E2118 #1A2E18 #18252E
square
#2C182E #2E2118 #1A2E18 #18252E
split-complementary
#2C182E #252E18 #182E21
monochromatic
#130A14 #130A14 #2C182E #522D56 #79427E

Accessibility & contrast

On white

16.44
#2C182E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#2C182E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C182E
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C182E#FFFFFF#000000##FFFFFF
##2C182E1.0016.441.2816.44
#FFFFFF16.441.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161E2F
Deuteranopia (green-blind)
#1B202D
Tritanopia (blue-blind)
#2D1A20
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2c182e;
/* rgb */ color: rgb(44, 24, 46);
/* oklch */ color: oklch(24.6% 0.049 323.7);
Tailwind
colors: {
  custom: {
    50: '#655566',
    500: '#2c182e',
    950: '#000000',
  },
}
SCSS
$custom: #2c182e;
$custom-light: #655566;
$custom-dark: #000000;
JSON
{
  "hex": "#2c182e",
  "rgb": {
    "r": 44,
    "g": 24,
    "b": 46
  },
  "hsl": {
    "h": 294.545,
    "s": 31.429,
    "l": 13.725
  },
  "oklch": {
    "l": 0.24611,
    "c": 0.04924,
    "h": 323.7
  },
  "luminance": 0.01386
}

Semantic roles & 50–950 ramp

primary
#2C182E
secondary
#42633F
accent
#C8606A
background
#F6F4F6
surface
#EBE8EB
border
#C6C4C6
text
#060306
muted
#7A787A

Preview Lab

Preview with #2C182E

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

Preview Lab → · Contrast checker → · Palette generator →

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