#2C0132#2C0132

#2C0132 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.2% C 0.098 H 322.6°. Best body text is #FFFFFF at 18.14:1 contrast (WCAG AA passes).

Color values

HEX#2C0132
RGBrgb(44, 1, 50)
HSLhsl(293, 96%, 10%)
HSVhsv(293, 98%, 20%)
CMYKcmyk(12%, 98%, 0%, 80.4%)
CIE-LABlab(7.11, 29.18, -21.11)
CIE-LCHlch(7.11, 36.02, 324.12°)
OKLaboklab(21.22% 0.0776 -0.0594)
OKLCHoklch(21.22% 0.098 322.6)
XYZxyz(1.6252, 0.7876, 3.0834)
Luminance0.0079 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0132 #073201
analogous
#130132 #2C0132 #320120
triadic
#2C0132 #322C01 #01322C
tetradic
#2C0132 #321301 #073201 #012032
square
#2C0132 #321301 #073201 #012032
split-complementary
#2C0132 #203201 #013213
monochromatic
#1A011E #1A011E #2C0132 #61026E #9603AA

Accessibility & contrast

On white

18.14
#2C0132 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0132
18.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0132#FFFFFF#000000##FFFFFF
##2C01321.0018.141.1618.14
#FFFFFF18.141.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001333
Deuteranopia (green-blind)
#071731
Tritanopia (blue-blind)
#2D0A19
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2c0132;
/* rgb */ color: rgb(44, 1, 50);
/* oklch */ color: oklch(21.2% 0.098 322.6);
Tailwind
colors: {
  custom: {
    50: '#68476a',
    500: '#2c0132',
    950: '#000000',
  },
}
SCSS
$custom: #2c0132;
$custom-light: #68476a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0132",
  "rgb": {
    "r": 44,
    "g": 1,
    "b": 50
  },
  "hsl": {
    "h": 292.653,
    "s": 96.078,
    "l": 10
  },
  "oklch": {
    "l": 0.21217,
    "c": 0.09771,
    "h": 322.6
  },
  "luminance": 0.00787
}

Semantic roles & 50–950 ramp

primary
#2C0132
secondary
#237717
accent
#FF2943
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#060006
muted
#7A777A

Preview Lab

Preview with #2C0132

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

Preview Lab → · Contrast checker → · Palette generator →

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