#2C1E30#2C1E30

#2C1E30 is a dark, muted purple. Relative luminance 0.017; OKLCH L 26.0% C 0.038 H 318.6°. Best body text is #FFFFFF at 15.73:1 contrast (WCAG AA passes).

Color values

HEX#2C1E30
RGBrgb(44, 30, 48)
HSLhsl(287, 23%, 15%)
HSVhsv(287, 38%, 19%)
CMYKcmyk(8.3%, 37.5%, 0%, 81.2%)
CIE-LABlab(13.69, 10.88, -9.29)
CIE-LCHlch(13.69, 14.30, 319.50°)
OKLaboklab(26.03% 0.0287 -0.0253)
OKLCHoklch(26.03% 0.038 318.6)
XYZxyz(2.0364, 1.6775, 3.0122)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1E30 #22301E
analogous
#231E30 #2C1E30 #301E2B
triadic
#2C1E30 #302C1E #1E302C
tetradic
#2C1E30 #30231E #22301E #1E2B30
square
#2C1E30 #30231E #22301E #1E2B30
split-complementary
#2C1E30 #2B301E #1E3023
monochromatic
#110C13 #110C13 #2C1E30 #4F3656 #714D7B

Accessibility & contrast

On white

15.73
#2C1E30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#2C1E30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1E30
15.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1E30#FFFFFF#000000##FFFFFF
##2C1E301.0015.731.3415.73
#FFFFFF15.731.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2231
Deuteranopia (green-blind)
#1F232F
Tritanopia (blue-blind)
#2C2025
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #2c1e30;
/* rgb */ color: rgb(44, 30, 48);
/* oklch */ color: oklch(26.0% 0.038 318.6);
Tailwind
colors: {
  custom: {
    50: '#655a68',
    500: '#2c1e30',
    950: '#000000',
  },
}
SCSS
$custom: #2c1e30;
$custom-light: #655a68;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1e30",
  "rgb": {
    "r": 44,
    "g": 30,
    "b": 48
  },
  "hsl": {
    "h": 286.667,
    "s": 23.077,
    "l": 15.294
  },
  "oklch": {
    "l": 0.26029,
    "c": 0.03832,
    "h": 318.6
  },
  "luminance": 0.01677
}

Semantic roles & 50–950 ramp

primary
#2C1E30
secondary
#4D6347
accent
#C0687C
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#050306
muted
#7A787A

Preview Lab

Preview with #2C1E30

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

Preview Lab → · Contrast checker → · Palette generator →

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