#2C1141#2C1141

#2C1141 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.7% C 0.089 H 306.9°. Best body text is #FFFFFF at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#2C1141
RGBrgb(44, 17, 65)
HSLhsl(274, 59%, 16%)
HSVhsv(274, 74%, 25%)
CMYKcmyk(32.3%, 73.8%, 0%, 74.5%)
CIE-LABlab(11.40, 24.24, -25.03)
CIE-LCHlch(11.40, 34.85, 314.07°)
OKLaboklab(24.68% 0.0532 -0.0709)
OKLCHoklch(24.68% 0.089 306.9)
XYZxyz(2.1931, 1.3180, 5.1389)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1141 #264111
analogous
#141141 #2C1141 #41113E
triadic
#2C1141 #412C11 #11412C
tetradic
#2C1141 #411411 #264111 #113E41
square
#2C1141 #411411 #264111 #113E41
split-complementary
#2C1141 #3E4111 #114114
monochromatic
#100618 #100618 #2C1141 #4D1E72 #6E2AA2

Accessibility & contrast

On white

16.62
#2C1141 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#2C1141 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1141
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1141#FFFFFF#000000##FFFFFF
##2C11411.0016.621.2616.62
#FFFFFF16.621.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D42
Deuteranopia (green-blind)
#071E40
Tritanopia (blue-blind)
#291B27
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2c1141;
/* rgb */ color: rgb(44, 17, 65);
/* oklch */ color: oklch(24.7% 0.089 306.9);
Tailwind
colors: {
  custom: {
    50: '#675176',
    500: '#2c1141',
    950: '#000000',
  },
}
SCSS
$custom: #2c1141;
$custom-light: #675176;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1141",
  "rgb": {
    "r": 44,
    "g": 17,
    "b": 65
  },
  "hsl": {
    "h": 273.75,
    "s": 58.537,
    "l": 16.078
  },
  "oklch": {
    "l": 0.24677,
    "c": 0.08859,
    "h": 306.9
  },
  "luminance": 0.01318
}

Semantic roles & 50–950 ramp

primary
#2C1141
secondary
#527B33
accent
#E2468A
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2C1141

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

Preview Lab → · Contrast checker → · Palette generator →

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