#2C0F31#2C0F31

#2C0F31 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.1% C 0.072 H 321.5°. Best body text is #FFFFFF at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#2C0F31
RGBrgb(44, 15, 49)
HSLhsl(291, 53%, 13%)
HSVhsv(291, 69%, 19%)
CMYKcmyk(10.2%, 69.4%, 0%, 80.8%)
CIE-LABlab(9.79, 21.21, -16.10)
CIE-LCHlch(9.79, 26.63, 322.79°)
OKLaboklab(23.13% 0.0563 -0.0447)
OKLCHoklch(23.13% 0.072 321.5)
XYZxyz(1.7638, 1.0990, 3.0243)
Luminance0.0110 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0F31 #14310F
analogous
#1B0F31 #2C0F31 #310F25
triadic
#2C0F31 #312C0F #0F312C
tetradic
#2C0F31 #311B0F #14310F #0F2531
square
#2C0F31 #311B0F #14310F #0F2531
split-complementary
#2C0F31 #25310F #0F311B
monochromatic
#150717 #150717 #2C0F31 #561D60 #802C8F

Accessibility & contrast

On white

17.22
#2C0F31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#2C0F31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0F31
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0F31#FFFFFF#000000##FFFFFF
##2C0F311.0017.221.2217.22
#FFFFFF17.221.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081932
Deuteranopia (green-blind)
#131C30
Tritanopia (blue-blind)
#2D141E
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2c0f31;
/* rgb */ color: rgb(44, 15, 49);
/* oklch */ color: oklch(23.1% 0.072 321.5);
Tailwind
colors: {
  custom: {
    50: '#664f69',
    500: '#2c0f31',
    950: '#000000',
  },
}
SCSS
$custom: #2c0f31;
$custom-light: #664f69;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0f31",
  "rgb": {
    "r": 44,
    "g": 15,
    "b": 49
  },
  "hsl": {
    "h": 291.176,
    "s": 53.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.23131,
    "c": 0.07194,
    "h": 321.5
  },
  "luminance": 0.01099
}

Semantic roles & 50–950 ramp

primary
#2C0F31
secondary
#396B31
accent
#DD4B61
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2C0F31

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

Preview Lab → · Contrast checker → · Palette generator →

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