#2C143C#2C143C

#2C143C is a very dark, moderate violet. Relative luminance 0.014; OKLCH L 24.8% C 0.077 H 309.6°. Best body text is #FFFFFF at 16.50:1 contrast (WCAG AA passes).

Color values

HEX#2C143C
RGBrgb(44, 20, 60)
HSLhsl(276, 50%, 16%)
HSVhsv(276, 67%, 24%)
CMYKcmyk(26.7%, 66.7%, 0%, 76.5%)
CIE-LABlab(11.70, 20.99, -21.00)
CIE-LCHlch(11.70, 29.69, 314.98°)
OKLaboklab(24.78% 0.0489 -0.0591)
OKLCHoklch(24.78% 0.077 309.6)
XYZxyz(2.1043, 1.3621, 4.4261)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C143C #243C14
analogous
#18143C #2C143C #3C1438
triadic
#2C143C #3C2C14 #143C2C
tetradic
#2C143C #3C1814 #243C14 #14383C
square
#2C143C #3C1814 #243C14 #14383C
split-complementary
#2C143C #383C14 #143C18
monochromatic
#110817 #110817 #2C143C #4E236A #6F3398

Accessibility & contrast

On white

16.50
#2C143C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C143C
16.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C143C#FFFFFF#000000##FFFFFF
##2C143C1.0016.501.2716.50
#FFFFFF16.501.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061E3D
Deuteranopia (green-blind)
#0F1F3B
Tritanopia (blue-blind)
#2A1B25
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2c143c;
/* rgb */ color: rgb(44, 20, 60);
/* oklch */ color: oklch(24.8% 0.077 309.6);
Tailwind
colors: {
  custom: {
    50: '#675372',
    500: '#2c143c',
    950: '#000000',
  },
}
SCSS
$custom: #2c143c;
$custom-light: #675372;
$custom-dark: #000000;
JSON
{
  "hex": "#2c143c",
  "rgb": {
    "r": 44,
    "g": 20,
    "b": 60
  },
  "hsl": {
    "h": 276,
    "s": 50,
    "l": 15.686
  },
  "oklch": {
    "l": 0.24775,
    "c": 0.07666,
    "h": 309.6
  },
  "luminance": 0.01362
}

Semantic roles & 50–950 ramp

primary
#2C143C
secondary
#507438
accent
#DA4E86
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060208
muted
#7A787B

Preview Lab

Preview with #2C143C

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

Preview Lab → · Contrast checker → · Palette generator →

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