#2C1341#2C1341

#2C1341 is a very dark, moderate violet. Relative luminance 0.014; OKLCH L 25.0% C 0.085 H 306.2°. Best body text is #FFFFFF at 16.45:1 contrast (WCAG AA passes).

Color values

HEX#2C1341
RGBrgb(44, 19, 65)
HSLhsl(273, 55%, 16%)
HSVhsv(273, 71%, 25%)
CMYKcmyk(32.3%, 70.8%, 0%, 74.5%)
CIE-LABlab(11.84, 23.03, -24.32)
CIE-LCHlch(11.84, 33.49, 313.44°)
OKLaboklab(25% 0.0503 -0.0688)
OKLCHoklch(25% 0.085 306.2)
XYZxyz(2.2255, 1.3829, 5.1497)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1341 #284113
analogous
#151341 #2C1341 #41133F
triadic
#2C1341 #412C13 #13412C
tetradic
#2C1341 #411513 #284113 #133F41
square
#2C1341 #411513 #284113 #133F41
split-complementary
#2C1341 #3F4113 #134115
monochromatic
#100718 #100718 #2C1341 #4C2170 #6C2FA0

Accessibility & contrast

On white

16.45
#2C1341 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#2C1341 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1341
16.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1341#FFFFFF#000000##FFFFFF
##2C13411.0016.451.2816.45
#FFFFFF16.451.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E42
Deuteranopia (green-blind)
#091F40
Tritanopia (blue-blind)
#281C27
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2c1341;
/* rgb */ color: rgb(44, 19, 65);
/* oklch */ color: oklch(25.0% 0.085 306.2);
Tailwind
colors: {
  custom: {
    50: '#675276',
    500: '#2c1341',
    950: '#000000',
  },
}
SCSS
$custom: #2c1341;
$custom-light: #675276;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1341",
  "rgb": {
    "r": 44,
    "g": 19,
    "b": 65
  },
  "hsl": {
    "h": 272.609,
    "s": 54.762,
    "l": 16.471
  },
  "oklch": {
    "l": 0.24997,
    "c": 0.08522,
    "h": 306.2
  },
  "luminance": 0.01383
}

Semantic roles & 50–950 ramp

primary
#2C1341
secondary
#557A36
accent
#DE4A8D
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2C1341

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

Preview Lab → · Contrast checker → · Palette generator →

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