#2C053C#2C053C

#2C053C is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.7% C 0.101 H 313.5°. Best body text is #FFFFFF at 17.59:1 contrast (WCAG AA passes).

Color values

HEX#2C053C
RGBrgb(44, 5, 60)
HSLhsl(283, 85%, 13%)
HSVhsv(283, 92%, 24%)
CMYKcmyk(26.7%, 91.7%, 0%, 76.5%)
CIE-LABlab(8.74, 29.25, -25.77)
CIE-LCHlch(8.74, 38.99, 318.62°)
OKLaboklab(22.65% 0.0692 -0.0729)
OKLCHoklch(22.65% 0.101 313.5)
XYZxyz(1.9084, 0.9703, 4.3608)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C053C #153C05
analogous
#10053C #2C053C #3C0530
triadic
#2C053C #3C2C05 #053C2C
tetradic
#2C053C #3C1005 #153C05 #05303C
square
#2C053C #3C1005 #153C05 #05303C
split-complementary
#2C053C #303C05 #053C10
monochromatic
#15021C #15021C #2C053C #550A74 #7F0EAD

Accessibility & contrast

On white

17.59
#2C053C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C053C
17.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C053C#FFFFFF#000000##FFFFFF
##2C053C1.0017.591.1917.59
#FFFFFF17.591.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173D
Deuteranopia (green-blind)
#011A3B
Tritanopia (blue-blind)
#2A1221
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2c053c;
/* rgb */ color: rgb(44, 5, 60);
/* oklch */ color: oklch(22.7% 0.101 313.5);
Tailwind
colors: {
  custom: {
    50: '#684a72',
    500: '#2c053c',
    950: '#000000',
  },
}
SCSS
$custom: #2c053c;
$custom-light: #684a72;
$custom-dark: #000000;
JSON
{
  "hex": "#2c053c",
  "rgb": {
    "r": 44,
    "g": 5,
    "b": 60
  },
  "hsl": {
    "h": 282.545,
    "s": 84.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.22654,
    "c": 0.10054,
    "h": 313.5
  },
  "luminance": 0.0097
}

Semantic roles & 50–950 ramp

primary
#2C053C
secondary
#3B7D20
accent
#FB2D69
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060108
muted
#7A777B

Preview Lab

Preview with #2C053C

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

Preview Lab → · Contrast checker → · Palette generator →

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