#2C1934#2C1934

#2C1934 is a dark, muted purple. Relative luminance 0.015; OKLCH L 25.2% C 0.055 H 315.3°. Best body text is #FFFFFF at 16.21:1 contrast (WCAG AA passes).

Color values

HEX#2C1934
RGBrgb(44, 25, 52)
HSLhsl(282, 35%, 15%)
HSVhsv(282, 52%, 20%)
CMYKcmyk(15.4%, 51.9%, 0%, 79.6%)
CIE-LABlab(12.47, 15.45, -14.06)
CIE-LCHlch(12.47, 20.89, 317.70°)
OKLaboklab(25.18% 0.0393 -0.0389)
OKLCHoklch(25.18% 0.055 315.3)
XYZxyz(2.0061, 1.4787, 3.4279)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1934 #213419
analogous
#1E1934 #2C1934 #34192E
triadic
#2C1934 #342C19 #19342C
tetradic
#2C1934 #341E19 #213419 #192E34
square
#2C1934 #341E19 #213419 #192E34
split-complementary
#2C1934 #2E3419 #19341E
monochromatic
#110A15 #110A15 #2C1934 #4F2D5D #724187

Accessibility & contrast

On white

16.21
#2C1934 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#2C1934 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1934
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1934#FFFFFF#000000##FFFFFF
##2C19341.0016.211.3016.21
#FFFFFF16.211.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141F35
Deuteranopia (green-blind)
#192133
Tritanopia (blue-blind)
#2C1D24
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2c1934;
/* rgb */ color: rgb(44, 25, 52);
/* oklch */ color: oklch(25.2% 0.055 315.3);
Tailwind
colors: {
  custom: {
    50: '#66566b',
    500: '#2c1934',
    950: '#000000',
  },
}
SCSS
$custom: #2c1934;
$custom-light: #66566b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1934",
  "rgb": {
    "r": 44,
    "g": 25,
    "b": 52
  },
  "hsl": {
    "h": 282.222,
    "s": 35.065,
    "l": 15.098
  },
  "oklch": {
    "l": 0.25176,
    "c": 0.05532,
    "h": 315.3
  },
  "luminance": 0.01479
}

Semantic roles & 50–950 ramp

primary
#2C1934
secondary
#4C6940
accent
#CB5D7D
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060306
muted
#7A787A

Preview Lab

Preview with #2C1934

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

Preview Lab → · Contrast checker → · Palette generator →

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