#2C10A1#2C10A1

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

Color values

HEX#2C10A1
RGBrgb(44, 16, 161)
HSLhsl(252, 82%, 35%)
HSVhsv(252, 90%, 63%)
CMYKcmyk(72.7%, 90.1%, 0%, 36.9%)
CIE-LABlab(21.87, 52.71, -70.37)
CIE-LCHlch(21.87, 87.92, 306.83°)
OKLaboklab(35.07% 0.0227 -0.2032)
OKLCHoklch(35.07% 0.204 276.4)
XYZxyz(7.6549, 3.4785, 33.9793)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C10A1 #85A110
analogous
#103DA1 #2C10A1 #7410A1
triadic
#2C10A1 #A12C10 #10A12C
tetradic
#2C10A1 #A1103D #85A110 #10A174
square
#2C10A1 #A1103D #85A110 #10A174
split-complementary
#2C10A1 #A17410 #3DA110
monochromatic
#0E0532 #1D0A69 #2C10A1 #3B16D9 #613FEC

Accessibility & contrast

On white

12.38
#2C10A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C10A1
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C10A1#FFFFFF#000000##FFFFFF
##2C10A11.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c10a1;
/* rgb */ color: rgb(44, 16, 161);
/* oklch */ color: oklch(35.1% 0.204 276.4);
Tailwind
colors: {
  custom: {
    50: '#7a58be',
    500: '#2c10a1',
    950: '#000000',
  },
}
SCSS
$custom: #2c10a1;
$custom-light: #7a58be;
$custom-dark: #000000;
JSON
{
  "hex": "#2c10a1",
  "rgb": {
    "r": 44,
    "g": 16,
    "b": 161
  },
  "hsl": {
    "h": 251.586,
    "s": 81.921,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35066,
    "c": 0.20449,
    "h": 276.4
  },
  "luminance": 0.03479
}

Semantic roles & 50–950 ramp

primary
#2C10A1
secondary
#B1CC41
accent
#F830D2
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #2C10A1

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

Preview Lab → · Contrast checker → · Palette generator →

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