#2C1334#2C1334

#2C1334 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.0% C 0.068 H 317.4°. Best body text is #FFFFFF at 16.80:1 contrast (WCAG AA passes).

Color values

HEX#2C1334
RGBrgb(44, 19, 52)
HSLhsl(285, 46%, 14%)
HSVhsv(285, 63%, 20%)
CMYKcmyk(15.4%, 63.5%, 0%, 79.6%)
CIE-LABlab(10.92, 19.48, -16.51)
CIE-LCHlch(10.92, 25.53, 319.71°)
OKLaboklab(24.02% 0.05 -0.0459)
OKLCHoklch(24.02% 0.068 317.4)
XYZxyz(1.8913, 1.2492, 3.3896)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1334 #1B3413
analogous
#1C1334 #2C1334 #34132C
triadic
#2C1334 #342C13 #13342C
tetradic
#2C1334 #341C13 #1B3413 #132C34
square
#2C1334 #341C13 #1B3413 #132C34
split-complementary
#2C1334 #2C3413 #13341C
monochromatic
#130816 #130816 #2C1334 #522361 #78348E

Accessibility & contrast

On white

16.80
#2C1334 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#2C1334 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1334
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1334#FFFFFF#000000##FFFFFF
##2C13341.0016.801.2516.80
#FFFFFF16.801.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1C35
Deuteranopia (green-blind)
#141E33
Tritanopia (blue-blind)
#2C1821
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2c1334;
/* rgb */ color: rgb(44, 19, 52);
/* oklch */ color: oklch(24.0% 0.068 317.4);
Tailwind
colors: {
  custom: {
    50: '#66526b',
    500: '#2c1334',
    950: '#000000',
  },
}
SCSS
$custom: #2c1334;
$custom-light: #66526b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1334",
  "rgb": {
    "r": 44,
    "g": 19,
    "b": 52
  },
  "hsl": {
    "h": 285.455,
    "s": 46.479,
    "l": 13.922
  },
  "oklch": {
    "l": 0.2402,
    "c": 0.06788,
    "h": 317.4
  },
  "luminance": 0.01249
}

Semantic roles & 50–950 ramp

primary
#2C1334
secondary
#446C37
accent
#D65272
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2C1334

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

Preview Lab → · Contrast checker → · Palette generator →

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