#2C1834#2C1834

#2C1834 is a very dark, muted purple. Relative luminance 0.014; OKLCH L 25.0% C 0.057 H 315.7°. Best body text is #FFFFFF at 16.31:1 contrast (WCAG AA passes).

Color values

HEX#2C1834
RGBrgb(44, 24, 52)
HSLhsl(283, 37%, 15%)
HSVhsv(283, 54%, 20%)
CMYKcmyk(15.4%, 53.8%, 0%, 79.6%)
CIE-LABlab(12.20, 16.14, -14.49)
CIE-LCHlch(12.20, 21.69, 318.09°)
OKLaboklab(24.97% 0.0411 -0.0401)
OKLCHoklch(24.97% 0.057 315.7)
XYZxyz(1.9851, 1.4367, 3.4209)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1834 #203418
analogous
#1E1834 #2C1834 #34182E
triadic
#2C1834 #342C18 #18342C
tetradic
#2C1834 #341E18 #203418 #182E34
square
#2C1834 #341E18 #203418 #182E34
split-complementary
#2C1834 #2E3418 #18341E
monochromatic
#120A15 #120A15 #2C1834 #4F2B5E #733F88

Accessibility & contrast

On white

16.31
#2C1834 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#2C1834 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1834
16.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1834#FFFFFF#000000##FFFFFF
##2C18341.0016.311.2916.31
#FFFFFF16.311.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131F35
Deuteranopia (green-blind)
#182133
Tritanopia (blue-blind)
#2C1C23
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2c1834;
/* rgb */ color: rgb(44, 24, 52);
/* oklch */ color: oklch(25.0% 0.057 315.7);
Tailwind
colors: {
  custom: {
    50: '#66556b',
    500: '#2c1834',
    950: '#000000',
  },
}
SCSS
$custom: #2c1834;
$custom-light: #66556b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1834",
  "rgb": {
    "r": 44,
    "g": 24,
    "b": 52
  },
  "hsl": {
    "h": 282.857,
    "s": 36.842,
    "l": 14.902
  },
  "oklch": {
    "l": 0.24972,
    "c": 0.05747,
    "h": 315.7
  },
  "luminance": 0.01437
}

Semantic roles & 50–950 ramp

primary
#2C1834
secondary
#4B6A3E
accent
#CD5B7C
background
#F6F5F6
surface
#EBE8EB
border
#C6C4C6
text
#060306
muted
#7A787A

Preview Lab

Preview with #2C1834

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

Preview Lab → · Contrast checker → · Palette generator →

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