#2C143A#2C143A

#2C143A is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.6% C 0.074 H 311.3°. Best body text is #FFFFFF at 16.56:1 contrast (WCAG AA passes).

Color values

HEX#2C143A
RGBrgb(44, 20, 58)
HSLhsl(278, 49%, 15%)
HSVhsv(278, 66%, 23%)
CMYKcmyk(24.1%, 65.5%, 0%, 77.3%)
CIE-LABlab(11.56, 20.43, -19.80)
CIE-LCHlch(11.56, 28.46, 315.90°)
OKLaboklab(24.63% 0.0488 -0.0555)
OKLCHoklch(24.63% 0.074 311.3)
XYZxyz(2.0524, 1.3413, 4.1529)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C143A #223A14
analogous
#19143A #2C143A #3A1435
triadic
#2C143A #3A2C14 #143A2C
tetradic
#2C143A #3A1914 #223A14 #14353A
square
#2C143A #3A1914 #223A14 #14353A
split-complementary
#2C143A #353A14 #143A19
monochromatic
#110817 #110817 #2C143A #4F2468 #713395

Accessibility & contrast

On white

16.56
#2C143A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#2C143A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C143A
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C143A#FFFFFF#000000##FFFFFF
##2C143A1.0016.561.2716.56
#FFFFFF16.561.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081D3B
Deuteranopia (green-blind)
#111F39
Tritanopia (blue-blind)
#2A1B24
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2c143a;
/* rgb */ color: rgb(44, 20, 58);
/* oklch */ color: oklch(24.6% 0.074 311.3);
Tailwind
colors: {
  custom: {
    50: '#665370',
    500: '#2c143a',
    950: '#000000',
  },
}
SCSS
$custom: #2c143a;
$custom-light: #665370;
$custom-dark: #000000;
JSON
{
  "hex": "#2c143a",
  "rgb": {
    "r": 44,
    "g": 20,
    "b": 58
  },
  "hsl": {
    "h": 277.895,
    "s": 48.718,
    "l": 15.294
  },
  "oklch": {
    "l": 0.24625,
    "c": 0.07394,
    "h": 311.3
  },
  "luminance": 0.01341
}

Semantic roles & 50–950 ramp

primary
#2C143A
secondary
#4D7238
accent
#D85082
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #2C143A

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

Preview Lab → · Contrast checker → · Palette generator →

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