#2C053A#2C053A

#2C053A is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.5% C 0.098 H 315.1°. Best body text is #FFFFFF at 17.65:1 contrast (WCAG AA passes).

Color values

HEX#2C053A
RGBrgb(44, 5, 58)
HSLhsl(284, 84%, 12%)
HSVhsv(284, 91%, 23%)
CMYKcmyk(24.1%, 91.4%, 0%, 77.3%)
CIE-LABlab(8.56, 28.78, -24.62)
CIE-LCHlch(8.56, 37.87, 319.46°)
OKLaboklab(22.47% 0.0697 -0.0695)
OKLCHoklch(22.47% 0.098 315.1)
XYZxyz(1.8566, 0.9496, 4.0877)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C053A #133A05
analogous
#12053A #2C053A #3A052E
triadic
#2C053A #3A2C05 #053A2C
tetradic
#2C053A #3A1205 #133A05 #052E3A
square
#2C053A #3A1205 #133A05 #052E3A
split-complementary
#2C053A #2E3A05 #053A12
monochromatic
#15021C #15021C #2C053A #570A72 #810FAB

Accessibility & contrast

On white

17.65
#2C053A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C053A
17.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C053A#FFFFFF#000000##FFFFFF
##2C053A1.0017.651.1917.65
#FFFFFF17.651.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163B
Deuteranopia (green-blind)
#031A39
Tritanopia (blue-blind)
#2B111F
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2c053a;
/* rgb */ color: rgb(44, 5, 58);
/* oklch */ color: oklch(22.5% 0.098 315.1);
Tailwind
colors: {
  custom: {
    50: '#684a70',
    500: '#2c053a',
    950: '#000000',
  },
}
SCSS
$custom: #2c053a;
$custom-light: #684a70;
$custom-dark: #000000;
JSON
{
  "hex": "#2c053a",
  "rgb": {
    "r": 44,
    "g": 5,
    "b": 58
  },
  "hsl": {
    "h": 284.151,
    "s": 84.127,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22474,
    "c": 0.09847,
    "h": 315.1
  },
  "luminance": 0.0095
}

Semantic roles & 50–950 ramp

primary
#2C053A
secondary
#387B20
accent
#FA2D64
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2C053A

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

Preview Lab → · Contrast checker → · Palette generator →

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