#2C053F#2C053F

#2C053F is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.9% C 0.104 H 311.3°. Best body text is #FFFFFF at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#2C053F
RGBrgb(44, 5, 63)
HSLhsl(280, 85%, 13%)
HSVhsv(280, 92%, 25%)
CMYKcmyk(30.2%, 92.1%, 0%, 75.3%)
CIE-LABlab(9.02, 29.98, -27.47)
CIE-LCHlch(9.02, 40.67, 317.50°)
OKLaboklab(22.93% 0.0684 -0.0779)
OKLCHoklch(22.93% 0.104 311.3)
XYZxyz(1.9900, 1.0029, 4.7904)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C053F #183F05
analogous
#0F053F #2C053F #3F0535
triadic
#2C053F #3F2C05 #053F2C
tetradic
#2C053F #3F0F05 #183F05 #05353F
square
#2C053F #3F0F05 #183F05 #05353F
split-complementary
#2C053F #353F05 #053F0F
monochromatic
#14021C #14021C #2C053F #540978 #7B0EB0

Accessibility & contrast

On white

17.49
#2C053F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#2C053F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C053F
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C053F#FFFFFF#000000##FFFFFF
##2C053F1.0017.491.2017.49
#FFFFFF17.491.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001841
Deuteranopia (green-blind)
#001A3E
Tritanopia (blue-blind)
#291422
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2c053f;
/* rgb */ color: rgb(44, 5, 63);
/* oklch */ color: oklch(22.9% 0.104 311.3);
Tailwind
colors: {
  custom: {
    50: '#684a74',
    500: '#2c053f',
    950: '#000000',
  },
}
SCSS
$custom: #2c053f;
$custom-light: #684a74;
$custom-dark: #000000;
JSON
{
  "hex": "#2c053f",
  "rgb": {
    "r": 44,
    "g": 5,
    "b": 63
  },
  "hsl": {
    "h": 280.345,
    "s": 85.294,
    "l": 13.333
  },
  "oklch": {
    "l": 0.22931,
    "c": 0.10368,
    "h": 311.3
  },
  "luminance": 0.01003
}

Semantic roles & 50–950 ramp

primary
#2C053F
secondary
#3F8020
accent
#FC2C70
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #2C053F

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

Preview Lab → · Contrast checker → · Palette generator →

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