#2C0531#2C0531

#2C0531 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.7% C 0.089 H 323.0°. Best body text is #FFFFFF at 17.90:1 contrast (WCAG AA passes).

Color values

HEX#2C0531
RGBrgb(44, 5, 49)
HSLhsl(293, 81%, 11%)
HSVhsv(293, 90%, 19%)
CMYKcmyk(10.2%, 89.8%, 0%, 80.8%)
CIE-LABlab(7.82, 26.71, -19.24)
CIE-LCHlch(7.82, 32.92, 324.24°)
OKLaboklab(21.71% 0.0713 -0.0538)
OKLCHoklch(21.71% 0.089 323)
XYZxyz(1.6473, 0.8659, 2.9855)
Luminance0.0087 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0531 #0A3105
analogous
#160531 #2C0531 #310520
triadic
#2C0531 #312C05 #05312C
tetradic
#2C0531 #311605 #0A3105 #052031
square
#2C0531 #311605 #0A3105 #052031
split-complementary
#2C0531 #203105 #053116
monochromatic
#19031C #19031C #2C0531 #5E0B69 #9010A0

Accessibility & contrast

On white

17.90
#2C0531 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#2C0531 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0531
17.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0531#FFFFFF#000000##FFFFFF
##2C05311.0017.901.1717.90
#FFFFFF17.901.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001432
Deuteranopia (green-blind)
#0C1930
Tritanopia (blue-blind)
#2D0D1A
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2c0531;
/* rgb */ color: rgb(44, 5, 49);
/* oklch */ color: oklch(21.7% 0.089 323.0);
Tailwind
colors: {
  custom: {
    50: '#674969',
    500: '#2c0531',
    950: '#000000',
  },
}
SCSS
$custom: #2c0531;
$custom-light: #674969;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0531",
  "rgb": {
    "r": 44,
    "g": 5,
    "b": 49
  },
  "hsl": {
    "h": 293.182,
    "s": 81.481,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21713,
    "c": 0.0893,
    "h": 323
  },
  "luminance": 0.00866
}

Semantic roles & 50–950 ramp

primary
#2C0531
secondary
#29721F
accent
#F83047
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2C0531

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

Preview Lab → · Contrast checker → · Palette generator →

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