#2C0535#2C0535

#2C0535 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.0% C 0.093 H 319.3°. Best body text is #FFFFFF at 17.79:1 contrast (WCAG AA passes).

Color values

HEX#2C0535
RGBrgb(44, 5, 53)
HSLhsl(289, 83%, 11%)
HSVhsv(289, 91%, 21%)
CMYKcmyk(17%, 90.6%, 0%, 79.2%)
CIE-LABlab(8.14, 27.62, -21.67)
CIE-LCHlch(8.14, 35.10, 321.88°)
OKLaboklab(22.04% 0.0707 -0.0609)
OKLCHoklch(22.04% 0.093 319.3)
XYZxyz(1.7355, 0.9011, 3.4500)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0535 #0E3505
analogous
#140535 #2C0535 #350526
triadic
#2C0535 #352C05 #05352C
tetradic
#2C0535 #351405 #0E3505 #052635
square
#2C0535 #351405 #0E3505 #052635
split-complementary
#2C0535 #263505 #053514
monochromatic
#17031C #17031C #2C0535 #5A0A6D #8910A5

Accessibility & contrast

On white

17.79
#2C0535 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#2C0535 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0535
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0535#FFFFFF#000000##FFFFFF
##2C05351.0017.791.1817.79
#FFFFFF17.791.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001536
Deuteranopia (green-blind)
#081934
Tritanopia (blue-blind)
#2C0F1D
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2c0535;
/* rgb */ color: rgb(44, 5, 53);
/* oklch */ color: oklch(22.0% 0.093 319.3);
Tailwind
colors: {
  custom: {
    50: '#674a6c',
    500: '#2c0535',
    950: '#000000',
  },
}
SCSS
$custom: #2c0535;
$custom-light: #674a6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0535",
  "rgb": {
    "r": 44,
    "g": 5,
    "b": 53
  },
  "hsl": {
    "h": 288.75,
    "s": 82.759,
    "l": 11.373
  },
  "oklch": {
    "l": 0.22041,
    "c": 0.09334,
    "h": 319.3
  },
  "luminance": 0.00901
}

Semantic roles & 50–950 ramp

primary
#2C0535
secondary
#307620
accent
#F92F55
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2C0535

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

Preview Lab → · Contrast checker → · Palette generator →

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