#2C1143#2C1143

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

Color values

HEX#2C1143
RGBrgb(44, 17, 67)
HSLhsl(272, 60%, 16%)
HSVhsv(272, 75%, 26%)
CMYKcmyk(34.3%, 74.6%, 0%, 73.7%)
CIE-LABlab(11.56, 24.80, -26.18)
CIE-LCHlch(11.56, 36.06, 313.45°)
OKLaboklab(24.85% 0.053 -0.0742)
OKLCHoklch(24.85% 0.091 305.5)
XYZxyz(2.2521, 1.3416, 5.4494)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1143 #284311
analogous
#131143 #2C1143 #431141
triadic
#2C1143 #432C11 #11432C
tetradic
#2C1143 #431311 #284311 #114143
square
#2C1143 #431311 #284311 #114143
split-complementary
#2C1143 #414311 #114313
monochromatic
#100618 #100618 #2C1143 #4C1D74 #6C2AA5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C1143#FFFFFF#000000##FFFFFF
##2C11431.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)
#001E45
Deuteranopia (green-blind)
#041F42
Tritanopia (blue-blind)
#281C28
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2c1143;
/* rgb */ color: rgb(44, 17, 67);
/* oklch */ color: oklch(24.8% 0.091 305.5);
Tailwind
colors: {
  custom: {
    50: '#685177',
    500: '#2c1143',
    950: '#000000',
  },
}
SCSS
$custom: #2c1143;
$custom-light: #685177;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1143",
  "rgb": {
    "r": 44,
    "g": 17,
    "b": 67
  },
  "hsl": {
    "h": 272.4,
    "s": 59.524,
    "l": 16.471
  },
  "oklch": {
    "l": 0.24846,
    "c": 0.09119,
    "h": 305.5
  },
  "luminance": 0.01342
}

Semantic roles & 50–950 ramp

primary
#2C1143
secondary
#557D33
accent
#E3458E
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #2C1143

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

Preview Lab → · Contrast checker → · Palette generator →

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