#2C0431#2C0431

#2C0431 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.6% C 0.091 H 323.1°. Best body text is #FFFFFF at 17.97:1 contrast (WCAG AA passes).

Color values

HEX#2C0431
RGBrgb(44, 4, 49)
HSLhsl(293, 85%, 10%)
HSVhsv(293, 92%, 19%)
CMYKcmyk(10.2%, 91.8%, 0%, 80.8%)
CIE-LABlab(7.63, 27.27, -19.55)
CIE-LCHlch(7.63, 33.56, 324.37°)
OKLaboklab(21.57% 0.0729 -0.0547)
OKLCHoklch(21.57% 0.091 323.1)
XYZxyz(1.6364, 0.8442, 2.9819)
Luminance0.0084 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0431 #093104
analogous
#150431 #2C0431 #31041F
triadic
#2C0431 #312C04 #04312C
tetradic
#2C0431 #311504 #093104 #041F31
square
#2C0431 #311504 #093104 #041F31
split-complementary
#2C0431 #1F3104 #043115
monochromatic
#19021C #19021C #2C0431 #5F096A #920DA2

Accessibility & contrast

On white

17.97
#2C0431 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#2C0431 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0431
17.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0431#FFFFFF#000000##FFFFFF
##2C04311.0017.971.1717.97
#FFFFFF17.971.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001432
Deuteranopia (green-blind)
#0B1830
Tritanopia (blue-blind)
#2D0C1A
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2c0431;
/* rgb */ color: rgb(44, 4, 49);
/* oklch */ color: oklch(21.6% 0.091 323.1);
Tailwind
colors: {
  custom: {
    50: '#674969',
    500: '#2c0431',
    950: '#000000',
  },
}
SCSS
$custom: #2c0431;
$custom-light: #674969;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0431",
  "rgb": {
    "r": 44,
    "g": 4,
    "b": 49
  },
  "hsl": {
    "h": 293.333,
    "s": 84.906,
    "l": 10.392
  },
  "oklch": {
    "l": 0.21571,
    "c": 0.09112,
    "h": 323.1
  },
  "luminance": 0.00844
}

Semantic roles & 50–950 ramp

primary
#2C0431
secondary
#27731D
accent
#FB2D44
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2C0431

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

Preview Lab → · Contrast checker → · Palette generator →

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