#2C11A1#2C11A1

#2C11A1 is a dark, highly saturated violet. Relative luminance 0.035; OKLCH L 35.1% C 0.204 H 276.3°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#2C11A1
RGBrgb(44, 17, 161)
HSLhsl(251, 81%, 35%)
HSVhsv(251, 89%, 63%)
CMYKcmyk(72.7%, 89.4%, 0%, 36.9%)
CIE-LABlab(21.98, 52.38, -70.19)
CIE-LCHlch(21.98, 87.58, 306.73°)
OKLaboklab(35.14% 0.0225 -0.2027)
OKLCHoklch(35.14% 0.204 276.3)
XYZxyz(7.6701, 3.5088, 33.9844)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C11A1 #86A111
analogous
#113EA1 #2C11A1 #7411A1
triadic
#2C11A1 #A12C11 #11A12C
tetradic
#2C11A1 #A1113E #86A111 #11A174
square
#2C11A1 #A1113E #86A111 #11A174
split-complementary
#2C11A1 #A17411 #3EA111
monochromatic
#0E0532 #1D0B6A #2C11A1 #3B17D8 #6141EB

Accessibility & contrast

On white

12.34
#2C11A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#2C11A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C11A1
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C11A1#FFFFFF#000000##FFFFFF
##2C11A11.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003AA5
Deuteranopia (green-blind)
#002E9F
Tritanopia (blue-blind)
#00435E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2c11a1;
/* rgb */ color: rgb(44, 17, 161);
/* oklch */ color: oklch(35.1% 0.204 276.3);
Tailwind
colors: {
  custom: {
    50: '#7a58be',
    500: '#2c11a1',
    950: '#000000',
  },
}
SCSS
$custom: #2c11a1;
$custom-light: #7a58be;
$custom-dark: #000000;
JSON
{
  "hex": "#2c11a1",
  "rgb": {
    "r": 44,
    "g": 17,
    "b": 161
  },
  "hsl": {
    "h": 251.25,
    "s": 80.899,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35141,
    "c": 0.20396,
    "h": 276.3
  },
  "luminance": 0.0351
}

Semantic roles & 50–950 ramp

primary
#2C11A1
secondary
#B1CB43
accent
#F731D2
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #2C11A1

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

Preview Lab → · Contrast checker → · Palette generator →

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