#2C0529#2C0529

#2C0529 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.1% C 0.082 H 331.4°. Best body text is #FFFFFF at 18.09:1 contrast (WCAG AA passes).

Color values

HEX#2C0529
RGBrgb(44, 5, 41)
HSLhsl(305, 80%, 10%)
HSVhsv(305, 89%, 17%)
CMYKcmyk(0%, 88.6%, 6.8%, 82.7%)
CIE-LABlab(7.26, 24.95, -14.15)
CIE-LCHlch(7.26, 28.68, 330.45°)
OKLaboklab(21.11% 0.0716 -0.0391)
OKLCHoklch(21.11% 0.082 331.4)
XYZxyz(1.4932, 0.8042, 2.1740)
Luminance0.0080 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0529 #052C08
analogous
#1C052C #2C0529 #2C0516
triadic
#2C0529 #292C05 #05292C
tetradic
#2C0529 #2C1C05 #052C08 #05162C
square
#2C0529 #2C1C05 #052C08 #05162C
split-complementary
#2C0529 #162C05 #052C1C
monochromatic
#1B031A #1B031A #2C0529 #630B5C #9A118F

Accessibility & contrast

On white

18.09
#2C0529 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#2C0529 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0529
18.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0529#FFFFFF#000000##FFFFFF
##2C05291.0018.091.1618.09
#FFFFFF18.091.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03122A
Deuteranopia (green-blind)
#111828
Tritanopia (blue-blind)
#2E0916
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2c0529;
/* rgb */ color: rgb(44, 5, 41);
/* oklch */ color: oklch(21.1% 0.082 331.4);
Tailwind
colors: {
  custom: {
    50: '#674963',
    500: '#2c0529',
    950: '#000000',
  },
}
SCSS
$custom: #2c0529;
$custom-light: #674963;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0529",
  "rgb": {
    "r": 44,
    "g": 5,
    "b": 41
  },
  "hsl": {
    "h": 304.615,
    "s": 79.592,
    "l": 9.608
  },
  "oklch": {
    "l": 0.21114,
    "c": 0.08154,
    "h": 331.4
  },
  "luminance": 0.00804
}

Semantic roles & 50–950 ramp

primary
#2C0529
secondary
#1F6E25
accent
#F64132
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #2C0529

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

Preview Lab → · Contrast checker → · Palette generator →

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