#2C043B#2C043B

#2C043B is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.4% C 0.101 H 314.5°. Best body text is #FFFFFF at 17.68:1 contrast (WCAG AA passes).

Color values

HEX#2C043B
RGBrgb(44, 4, 59)
HSLhsl(284, 87%, 12%)
HSVhsv(284, 93%, 23%)
CMYKcmyk(25.4%, 93.2%, 0%, 76.9%)
CIE-LABlab(8.46, 29.56, -25.50)
CIE-LCHlch(8.46, 39.04, 319.22°)
OKLaboklab(22.43% 0.0708 -0.0721)
OKLCHoklch(22.43% 0.101 314.5)
XYZxyz(1.8714, 0.9381, 4.2193)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C043B #133B04
analogous
#10043B #2C043B #3B042F
triadic
#2C043B #3B2C04 #043B2C
tetradic
#2C043B #3B1004 #133B04 #042F3B
square
#2C043B #3B1004 #133B04 #042F3B
split-complementary
#2C043B #2F3B04 #043B10
monochromatic
#15021D #15021D #2C043B #570874 #810CAE

Accessibility & contrast

On white

17.68
#2C043B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C043B
17.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C043B#FFFFFF#000000##FFFFFF
##2C043B1.0017.681.1917.68
#FFFFFF17.681.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163C
Deuteranopia (green-blind)
#01193A
Tritanopia (blue-blind)
#2B1120
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2c043b;
/* rgb */ color: rgb(44, 4, 59);
/* oklch */ color: oklch(22.4% 0.101 314.5);
Tailwind
colors: {
  custom: {
    50: '#684971',
    500: '#2c043b',
    950: '#000000',
  },
}
SCSS
$custom: #2c043b;
$custom-light: #684971;
$custom-dark: #000000;
JSON
{
  "hex": "#2c043b",
  "rgb": {
    "r": 44,
    "g": 4,
    "b": 59
  },
  "hsl": {
    "h": 283.636,
    "s": 87.302,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22433,
    "c": 0.10108,
    "h": 314.5
  },
  "luminance": 0.00938
}

Semantic roles & 50–950 ramp

primary
#2C043B
secondary
#387D1E
accent
#FD2A64
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060108
muted
#7A777B

Preview Lab

Preview with #2C043B

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

Preview Lab → · Contrast checker → · Palette generator →

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