#2C0526#2C0526

#2C0526 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 20.9% C 0.079 H 334.9°. Best body text is #FFFFFF at 18.15:1 contrast (WCAG AA passes).

Color values

HEX#2C0526
RGBrgb(44, 5, 38)
HSLhsl(309, 80%, 10%)
HSVhsv(309, 89%, 17%)
CMYKcmyk(0%, 88.6%, 13.6%, 82.7%)
CIE-LABlab(7.08, 24.31, -12.16)
CIE-LCHlch(7.08, 27.18, 333.43°)
OKLaboklab(20.91% 0.0714 -0.0334)
OKLCHoklch(20.91% 0.079 334.9)
XYZxyz(1.4428, 0.7841, 1.9087)
Luminance0.0078 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0526 #052C0B
analogous
#1F052C #2C0526 #2C0513
triadic
#2C0526 #262C05 #05262C
tetradic
#2C0526 #2C1F05 #052C0B #05132C
square
#2C0526 #2C1F05 #052C0B #05132C
split-complementary
#2C0526 #132C05 #052C1F
monochromatic
#1B0318 #1B0318 #2C0526 #630B55 #9A1185

Accessibility & contrast

On white

18.15
#2C0526 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0526
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0526#FFFFFF#000000##FFFFFF
##2C05261.0018.151.1618.15
#FFFFFF18.151.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051227
Deuteranopia (green-blind)
#121825
Tritanopia (blue-blind)
#2F0814
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2c0526;
/* rgb */ color: rgb(44, 5, 38);
/* oklch */ color: oklch(20.9% 0.079 334.9);
Tailwind
colors: {
  custom: {
    50: '#674960',
    500: '#2c0526',
    950: '#000000',
  },
}
SCSS
$custom: #2c0526;
$custom-light: #674960;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0526",
  "rgb": {
    "r": 44,
    "g": 5,
    "b": 38
  },
  "hsl": {
    "h": 309.231,
    "s": 79.592,
    "l": 9.608
  },
  "oklch": {
    "l": 0.2091,
    "c": 0.07879,
    "h": 334.9
  },
  "luminance": 0.00784
}

Semantic roles & 50–950 ramp

primary
#2C0526
secondary
#1F6E2B
accent
#F65032
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060105
muted
#7A7779

Preview Lab

Preview with #2C0526

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

Preview Lab → · Contrast checker → · Palette generator →

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