#2C0527#2C0527

#2C0527 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.0% C 0.080 H 333.7°. Best body text is #FFFFFF at 18.13:1 contrast (WCAG AA passes).

Color values

HEX#2C0527
RGBrgb(44, 5, 39)
HSLhsl(308, 80%, 10%)
HSVhsv(308, 89%, 17%)
CMYKcmyk(0%, 88.6%, 11.4%, 82.7%)
CIE-LABlab(7.14, 24.52, -12.83)
CIE-LCHlch(7.14, 27.67, 332.39°)
OKLaboklab(20.98% 0.0715 -0.0353)
OKLCHoklch(20.98% 0.08 333.7)
XYZxyz(1.4592, 0.7906, 1.9948)
Luminance0.0079 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0527 #052C0A
analogous
#1E052C #2C0527 #2C0514
triadic
#2C0527 #272C05 #05272C
tetradic
#2C0527 #2C1E05 #052C0A #05142C
square
#2C0527 #2C1E05 #052C0A #05142C
split-complementary
#2C0527 #142C05 #052C1E
monochromatic
#1B0318 #1B0318 #2C0527 #630B58 #9A1188

Accessibility & contrast

On white

18.13
#2C0527 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0527
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0527#FFFFFF#000000##FFFFFF
##2C05271.0018.131.1618.13
#FFFFFF18.131.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041228
Deuteranopia (green-blind)
#121826
Tritanopia (blue-blind)
#2F0815
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2c0527;
/* rgb */ color: rgb(44, 5, 39);
/* oklch */ color: oklch(21.0% 0.080 333.7);
Tailwind
colors: {
  custom: {
    50: '#674961',
    500: '#2c0527',
    950: '#000000',
  },
}
SCSS
$custom: #2c0527;
$custom-light: #674961;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0527",
  "rgb": {
    "r": 44,
    "g": 5,
    "b": 39
  },
  "hsl": {
    "h": 307.692,
    "s": 79.592,
    "l": 9.608
  },
  "oklch": {
    "l": 0.20976,
    "c": 0.0797,
    "h": 333.7
  },
  "luminance": 0.0079
}

Semantic roles & 50–950 ramp

primary
#2C0527
secondary
#1F6E29
accent
#F64B32
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060105
muted
#7A7779

Preview Lab

Preview with #2C0527

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

Preview Lab → · Contrast checker → · Palette generator →

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