#2C0131#2C0131

#2C0131 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.1% C 0.097 H 323.5°. Best body text is #FFFFFF at 18.17:1 contrast (WCAG AA passes).

Color values

HEX#2C0131
RGBrgb(44, 1, 49)
HSLhsl(294, 96%, 10%)
HSVhsv(294, 98%, 19%)
CMYKcmyk(10.2%, 98%, 0%, 80.8%)
CIE-LABlab(7.04, 28.95, -20.49)
CIE-LCHlch(7.04, 35.47, 324.71°)
OKLaboklab(21.13% 0.0778 -0.0576)
OKLCHoklch(21.13% 0.097 323.5)
XYZxyz(1.6039, 0.7790, 2.9710)
Luminance0.0078 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0131 #063101
analogous
#140131 #2C0131 #31011E
triadic
#2C0131 #312C01 #01312C
tetradic
#2C0131 #311401 #063101 #011E31
square
#2C0131 #311401 #063101 #011E31
split-complementary
#2C0131 #1E3101 #013114
monochromatic
#1B011E #1B011E #2C0131 #62026D #9803A9

Accessibility & contrast

On white

18.17
#2C0131 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0131
18.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0131#FFFFFF#000000##FFFFFF
##2C01311.0018.171.1618.17
#FFFFFF18.171.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001232
Deuteranopia (green-blind)
#081730
Tritanopia (blue-blind)
#2D0919
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2c0131;
/* rgb */ color: rgb(44, 1, 49);
/* oklch */ color: oklch(21.1% 0.097 323.5);
Tailwind
colors: {
  custom: {
    50: '#684769',
    500: '#2c0131',
    950: '#000000',
  },
}
SCSS
$custom: #2c0131;
$custom-light: #684769;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0131",
  "rgb": {
    "r": 44,
    "g": 1,
    "b": 49
  },
  "hsl": {
    "h": 293.75,
    "s": 96,
    "l": 9.804
  },
  "oklch": {
    "l": 0.21132,
    "c": 0.09682,
    "h": 323.5
  },
  "luminance": 0.00779
}

Semantic roles & 50–950 ramp

primary
#2C0131
secondary
#217717
accent
#FF293F
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#060006
muted
#7A777A

Preview Lab

Preview with #2C0131

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

Preview Lab → · Contrast checker → · Palette generator →

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