#2C0530#2C0530

#2C0530 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.6% C 0.088 H 323.9°. Best body text is #FFFFFF at 17.93:1 contrast (WCAG AA passes).

Color values

HEX#2C0530
RGBrgb(44, 5, 48)
HSLhsl(294, 81%, 10%)
HSVhsv(294, 90%, 19%)
CMYKcmyk(8.3%, 89.6%, 0%, 81.2%)
CIE-LABlab(7.75, 26.49, -18.62)
CIE-LCHlch(7.75, 32.38, 324.90°)
OKLaboklab(21.63% 0.0714 -0.052)
OKLCHoklch(21.63% 0.088 323.9)
XYZxyz(1.6264, 0.8575, 2.8756)
Luminance0.0086 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0530 #093005
analogous
#160530 #2C0530 #30051E
triadic
#2C0530 #302C05 #05302C
tetradic
#2C0530 #301605 #093005 #051E30
square
#2C0530 #301605 #093005 #051E30
split-complementary
#2C0530 #1E3005 #053016
monochromatic
#19031C #19031C #2C0530 #5F0B67 #92119F

Accessibility & contrast

On white

17.93
#2C0530 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#2C0530 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0530
17.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0530#FFFFFF#000000##FFFFFF
##2C05301.0017.931.1717.93
#FFFFFF17.931.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001431
Deuteranopia (green-blind)
#0C192F
Tritanopia (blue-blind)
#2D0C1A
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2c0530;
/* rgb */ color: rgb(44, 5, 48);
/* oklch */ color: oklch(21.6% 0.088 323.9);
Tailwind
colors: {
  custom: {
    50: '#674968',
    500: '#2c0530',
    950: '#000000',
  },
}
SCSS
$custom: #2c0530;
$custom-light: #674968;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0530",
  "rgb": {
    "r": 44,
    "g": 5,
    "b": 48
  },
  "hsl": {
    "h": 294.419,
    "s": 81.132,
    "l": 10.392
  },
  "oklch": {
    "l": 0.21634,
    "c": 0.08831,
    "h": 323.9
  },
  "luminance": 0.00857
}

Semantic roles & 50–950 ramp

primary
#2C0530
secondary
#27721F
accent
#F83043
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2C0530

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

Preview Lab → · Contrast checker → · Palette generator →

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