#2C0331#2C0331

#2C0331 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.4% C 0.093 H 323.2°. Best body text is #FFFFFF at 18.04:1 contrast (WCAG AA passes).

Color values

HEX#2C0331
RGBrgb(44, 3, 49)
HSLhsl(293, 88%, 10%)
HSVhsv(293, 94%, 19%)
CMYKcmyk(10.2%, 93.9%, 0%, 80.8%)
CIE-LABlab(7.43, 27.83, -19.86)
CIE-LCHlch(7.43, 34.20, 324.49°)
OKLaboklab(21.43% 0.0745 -0.0556)
OKLCHoklch(21.43% 0.093 323.2)
XYZxyz(1.6256, 0.8225, 2.9783)
Luminance0.0082 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0331 #083103
analogous
#150331 #2C0331 #31031F
triadic
#2C0331 #312C03 #03312C
tetradic
#2C0331 #311503 #083103 #031F31
square
#2C0331 #311503 #083103 #031F31
split-complementary
#2C0331 #1F3103 #033115
monochromatic
#1A021D #1A021D #2C0331 #60076B #940AA4

Accessibility & contrast

On white

18.04
#2C0331 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#2C0331 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0331
18.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0331#FFFFFF#000000##FFFFFF
##2C03311.0018.041.1618.04
#FFFFFF18.041.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001332
Deuteranopia (green-blind)
#0A1830
Tritanopia (blue-blind)
#2D0B1A
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2c0331;
/* rgb */ color: rgb(44, 3, 49);
/* oklch */ color: oklch(21.4% 0.093 323.2);
Tailwind
colors: {
  custom: {
    50: '#674869',
    500: '#2c0331',
    950: '#000000',
  },
}
SCSS
$custom: #2c0331;
$custom-light: #674869;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0331",
  "rgb": {
    "r": 44,
    "g": 3,
    "b": 49
  },
  "hsl": {
    "h": 293.478,
    "s": 88.462,
    "l": 10.196
  },
  "oklch": {
    "l": 0.21427,
    "c": 0.09297,
    "h": 323.2
  },
  "luminance": 0.00822
}

Semantic roles & 50–950 ramp

primary
#2C0331
secondary
#25741B
accent
#FF2940
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2C0331

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

Preview Lab → · Contrast checker → · Palette generator →

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