#2C033A#2C033A

#2C033A is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.2% C 0.102 H 315.5°. Best body text is #FFFFFF at 17.78:1 contrast (WCAG AA passes).

Color values

HEX#2C033A
RGBrgb(44, 3, 58)
HSLhsl(285, 90%, 12%)
HSVhsv(285, 95%, 23%)
CMYKcmyk(24.1%, 94.8%, 0%, 77.3%)
CIE-LABlab(8.18, 29.89, -25.23)
CIE-LCHlch(8.18, 39.11, 319.83°)
OKLaboklab(22.21% 0.0725 -0.0713)
OKLCHoklch(22.21% 0.102 315.5)
XYZxyz(1.8349, 0.9062, 4.0804)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C033A #113A03
analogous
#11033A #2C033A #3A032D
triadic
#2C033A #3A2C03 #033A2C
tetradic
#2C033A #3A1103 #113A03 #032D3A
square
#2C033A #3A1103 #113A03 #032D3A
split-complementary
#2C033A #2D3A03 #033A11
monochromatic
#16021D #16021D #2C033A #580674 #8409AE

Accessibility & contrast

On white

17.78
#2C033A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C033A
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C033A#FFFFFF#000000##FFFFFF
##2C033A1.0017.781.1817.78
#FFFFFF17.781.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163B
Deuteranopia (green-blind)
#011939
Tritanopia (blue-blind)
#2B101F
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2c033a;
/* rgb */ color: rgb(44, 3, 58);
/* oklch */ color: oklch(22.2% 0.102 315.5);
Tailwind
colors: {
  custom: {
    50: '#684971',
    500: '#2c033a',
    950: '#000000',
  },
}
SCSS
$custom: #2c033a;
$custom-light: #684971;
$custom-dark: #000000;
JSON
{
  "hex": "#2c033a",
  "rgb": {
    "r": 44,
    "g": 3,
    "b": 58
  },
  "hsl": {
    "h": 284.727,
    "s": 90.164,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22208,
    "c": 0.1017,
    "h": 315.5
  },
  "luminance": 0.00906
}

Semantic roles & 50–950 ramp

primary
#2C033A
secondary
#357D1C
accent
#FF295F
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2C033A

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

Preview Lab → · Contrast checker → · Palette generator →

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