#2C143D#2C143D

#2C143D is a very dark, moderate violet. Relative luminance 0.014; OKLCH L 24.9% C 0.078 H 308.8°. Best body text is #FFFFFF at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#2C143D
RGBrgb(44, 20, 61)
HSLhsl(275, 51%, 16%)
HSVhsv(275, 67%, 24%)
CMYKcmyk(27.9%, 67.2%, 0%, 76.1%)
CIE-LABlab(11.77, 21.27, -21.60)
CIE-LCHlch(11.77, 30.32, 314.56°)
OKLaboklab(24.85% 0.0489 -0.0608)
OKLCHoklch(24.85% 0.078 308.8)
XYZxyz(2.1310, 1.3727, 4.5667)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C143D #253D14
analogous
#17143D #2C143D #3D1439
triadic
#2C143D #3D2C14 #143D2C
tetradic
#2C143D #3D1714 #253D14 #14393D
square
#2C143D #3D1714 #253D14 #14393D
split-complementary
#2C143D #393D14 #143D17
monochromatic
#110817 #110817 #2C143D #4D236B #6E3299

Accessibility & contrast

On white

16.48
#2C143D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C143D
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C143D#FFFFFF#000000##FFFFFF
##2C143D1.0016.481.2716.48
#FFFFFF16.481.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051E3E
Deuteranopia (green-blind)
#0F1F3C
Tritanopia (blue-blind)
#2A1C26
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2c143d;
/* rgb */ color: rgb(44, 20, 61);
/* oklch */ color: oklch(24.9% 0.078 308.8);
Tailwind
colors: {
  custom: {
    50: '#675373',
    500: '#2c143d',
    950: '#000000',
  },
}
SCSS
$custom: #2c143d;
$custom-light: #675373;
$custom-dark: #000000;
JSON
{
  "hex": "#2c143d",
  "rgb": {
    "r": 44,
    "g": 20,
    "b": 61
  },
  "hsl": {
    "h": 275.122,
    "s": 50.617,
    "l": 15.882
  },
  "oklch": {
    "l": 0.24851,
    "c": 0.07803,
    "h": 308.8
  },
  "luminance": 0.01373
}

Semantic roles & 50–950 ramp

primary
#2C143D
secondary
#517538
accent
#DA4E88
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060208
muted
#7A787B

Preview Lab

Preview with #2C143D

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

Preview Lab → · Contrast checker → · Palette generator →

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