#2C0537#2C0537

#2C0537 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.2% C 0.095 H 317.5°. Best body text is #FFFFFF at 17.74:1 contrast (WCAG AA passes).

Color values

HEX#2C0537
RGBrgb(44, 5, 55)
HSLhsl(287, 83%, 12%)
HSVhsv(287, 91%, 22%)
CMYKcmyk(20%, 90.9%, 0%, 78.4%)
CIE-LABlab(8.31, 28.08, -22.86)
CIE-LCHlch(8.31, 36.21, 320.85°)
OKLaboklab(22.21% 0.0704 -0.0644)
OKLCHoklch(22.21% 0.095 317.5)
XYZxyz(1.7825, 0.9199, 3.6974)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0537 #103705
analogous
#130537 #2C0537 #370529
triadic
#2C0537 #372C05 #05372C
tetradic
#2C0537 #371305 #103705 #052937
square
#2C0537 #371305 #103705 #052937
split-complementary
#2C0537 #293705 #053713
monochromatic
#16031C #16031C #2C0537 #590A6F #860FA7

Accessibility & contrast

On white

17.74
#2C0537 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0537
17.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0537#FFFFFF#000000##FFFFFF
##2C05371.0017.741.1817.74
#FFFFFF17.741.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001638
Deuteranopia (green-blind)
#061936
Tritanopia (blue-blind)
#2C101E
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2c0537;
/* rgb */ color: rgb(44, 5, 55);
/* oklch */ color: oklch(22.2% 0.095 317.5);
Tailwind
colors: {
  custom: {
    50: '#684a6e',
    500: '#2c0537',
    950: '#000000',
  },
}
SCSS
$custom: #2c0537;
$custom-light: #684a6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0537",
  "rgb": {
    "r": 44,
    "g": 5,
    "b": 55
  },
  "hsl": {
    "h": 286.8,
    "s": 83.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22211,
    "c": 0.09538,
    "h": 317.5
  },
  "luminance": 0.0092
}

Semantic roles & 50–950 ramp

primary
#2C0537
secondary
#337820
accent
#FA2E5B
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2C0537

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

Preview Lab → · Contrast checker → · Palette generator →

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