#2C0539#2C0539

#2C0539 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.4% C 0.097 H 315.9°. Best body text is #FFFFFF at 17.68:1 contrast (WCAG AA passes).

Color values

HEX#2C0539
RGBrgb(44, 5, 57)
HSLhsl(285, 84%, 12%)
HSVhsv(285, 91%, 22%)
CMYKcmyk(22.8%, 91.2%, 0%, 77.6%)
CIE-LABlab(8.48, 28.54, -24.03)
CIE-LCHlch(8.48, 37.31, 319.90°)
OKLaboklab(22.39% 0.07 -0.0678)
OKLCHoklch(22.39% 0.097 315.9)
XYZxyz(1.8314, 0.9395, 3.9550)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0539 #123905
analogous
#120539 #2C0539 #39052C
triadic
#2C0539 #392C05 #05392C
tetradic
#2C0539 #391205 #123905 #052C39
square
#2C0539 #391205 #123905 #052C39
split-complementary
#2C0539 #2C3905 #053912
monochromatic
#16021C #16021C #2C0539 #570A71 #830FAA

Accessibility & contrast

On white

17.68
#2C0539 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#2C0539 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0539
17.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0539#FFFFFF#000000##FFFFFF
##2C05391.0017.681.1917.68
#FFFFFF17.681.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163A
Deuteranopia (green-blind)
#041938
Tritanopia (blue-blind)
#2B111F
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2c0539;
/* rgb */ color: rgb(44, 5, 57);
/* oklch */ color: oklch(22.4% 0.097 315.9);
Tailwind
colors: {
  custom: {
    50: '#684a70',
    500: '#2c0539',
    950: '#000000',
  },
}
SCSS
$custom: #2c0539;
$custom-light: #684a70;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0539",
  "rgb": {
    "r": 44,
    "g": 5,
    "b": 57
  },
  "hsl": {
    "h": 285,
    "s": 83.871,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22385,
    "c": 0.09744,
    "h": 315.9
  },
  "luminance": 0.00939
}

Semantic roles & 50–950 ramp

primary
#2C0539
secondary
#367A20
accent
#FA2E61
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2C0539

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

Preview Lab → · Contrast checker → · Palette generator →

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