#2C0533#2C0533

#2C0533 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.9% C 0.091 H 321.1°. Best body text is #FFFFFF at 17.85:1 contrast (WCAG AA passes).

Color values

HEX#2C0533
RGBrgb(44, 5, 51)
HSLhsl(291, 82%, 11%)
HSVhsv(291, 90%, 20%)
CMYKcmyk(13.7%, 90.2%, 0%, 80%)
CIE-LABlab(7.98, 27.16, -20.46)
CIE-LCHlch(7.98, 34.01, 323.01°)
OKLaboklab(21.88% 0.0711 -0.0573)
OKLCHoklch(21.88% 0.091 321.1)
XYZxyz(1.6904, 0.8831, 3.2127)
Luminance0.0088 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0533 #0C3305
analogous
#150533 #2C0533 #330523
triadic
#2C0533 #332C05 #05332C
tetradic
#2C0533 #331505 #0C3305 #052333
square
#2C0533 #331505 #0C3305 #052333
split-complementary
#2C0533 #233305 #053315
monochromatic
#18031C #18031C #2C0533 #5C0A6B #8C10A2

Accessibility & contrast

On white

17.85
#2C0533 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0533
17.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0533#FFFFFF#000000##FFFFFF
##2C05331.0017.851.1817.85
#FFFFFF17.851.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001534
Deuteranopia (green-blind)
#0A1932
Tritanopia (blue-blind)
#2C0E1B
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2c0533;
/* rgb */ color: rgb(44, 5, 51);
/* oklch */ color: oklch(21.9% 0.091 321.1);
Tailwind
colors: {
  custom: {
    50: '#674a6b',
    500: '#2c0533',
    950: '#000000',
  },
}
SCSS
$custom: #2c0533;
$custom-light: #674a6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0533",
  "rgb": {
    "r": 44,
    "g": 5,
    "b": 51
  },
  "hsl": {
    "h": 290.87,
    "s": 82.143,
    "l": 10.98
  },
  "oklch": {
    "l": 0.21875,
    "c": 0.09131,
    "h": 321.1
  },
  "luminance": 0.00883
}

Semantic roles & 50–950 ramp

primary
#2C0533
secondary
#2C741F
accent
#F82F4E
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2C0533

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

Preview Lab → · Contrast checker → · Palette generator →

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