#2C162F#2C162F

#2C162F is a very dark, muted purple. Relative luminance 0.013; OKLCH L 24.3% C 0.055 H 322.6°. Best body text is #FFFFFF at 16.63:1 contrast (WCAG AA passes).

Color values

HEX#2C162F
RGBrgb(44, 22, 47)
HSLhsl(293, 36%, 14%)
HSVhsv(293, 53%, 18%)
CMYKcmyk(6.4%, 53.2%, 0%, 81.6%)
CIE-LABlab(11.38, 16.22, -12.15)
CIE-LCHlch(11.38, 20.26, 323.16°)
OKLaboklab(24.26% 0.0437 -0.0334)
OKLCHoklch(24.26% 0.055 322.6)
XYZxyz(1.8387, 1.3146, 2.8457)
Luminance0.0132 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C162F #192F16
analogous
#1F162F #2C162F #2F1625
triadic
#2C162F #2F2C16 #162F2C
tetradic
#2C162F #2F1F16 #192F16 #16252F
square
#2C162F #2F1F16 #192F16 #16252F
split-complementary
#2C162F #252F16 #162F1F
monochromatic
#140A15 #140A15 #2C162F #532A59 #7A3D82

Accessibility & contrast

On white

16.63
#2C162F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#2C162F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C162F
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C162F#FFFFFF#000000##FFFFFF
##2C162F1.0016.631.2616.63
#FFFFFF16.631.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131D30
Deuteranopia (green-blind)
#191F2E
Tritanopia (blue-blind)
#2D1920
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2c162f;
/* rgb */ color: rgb(44, 22, 47);
/* oklch */ color: oklch(24.3% 0.055 322.6);
Tailwind
colors: {
  custom: {
    50: '#665467',
    500: '#2c162f',
    950: '#000000',
  },
}
SCSS
$custom: #2c162f;
$custom-light: #665467;
$custom-dark: #000000;
JSON
{
  "hex": "#2c162f",
  "rgb": {
    "r": 44,
    "g": 22,
    "b": 47
  },
  "hsl": {
    "h": 292.8,
    "s": 36.232,
    "l": 13.529
  },
  "oklch": {
    "l": 0.24264,
    "c": 0.05501,
    "h": 322.6
  },
  "luminance": 0.01315
}

Semantic roles & 50–950 ramp

primary
#2C162F
secondary
#41653C
accent
#CC5C69
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2C162F

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

Preview Lab → · Contrast checker → · Palette generator →

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