#3C1CA7#3C1CA7

#3C1CA7 is a dark, highly saturated violet. Relative luminance 0.046; OKLCH L 38.1% C 0.200 H 281.8°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#3C1CA7
RGBrgb(60, 28, 167)
HSLhsl(254, 71%, 38%)
HSVhsv(254, 83%, 65%)
CMYKcmyk(64.1%, 83.2%, 0%, 34.5%)
CIE-LABlab(25.50, 51.10, -67.94)
CIE-LCHlch(25.50, 85.01, 306.95°)
OKLaboklab(38.11% 0.0409 -0.196)
OKLCHoklch(38.11% 0.2 281.8)
XYZxyz(9.2516, 4.5805, 36.9483)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1CA7 #87A71C
analogous
#1C41A7 #3C1CA7 #811CA7
triadic
#3C1CA7 #A73C1C #1CA73C
tetradic
#3C1CA7 #A71C41 #87A71C #1CA781
square
#3C1CA7 #A71C41 #87A71C #1CA781
split-complementary
#3C1CA7 #A7811C #41A71C
monochromatic
#160A3E #291373 #3C1CA7 #4F26DB #7A5AE3

Accessibility & contrast

On white

10.96
#3C1CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#3C1CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1CA7
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1CA7#FFFFFF#000000##FFFFFF
##3C1CA71.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AB
Deuteranopia (green-blind)
#0037A5
Tritanopia (blue-blind)
#004863
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3c1ca7;
/* rgb */ color: rgb(60, 28, 167);
/* oklch */ color: oklch(38.1% 0.200 281.8);
Tailwind
colors: {
  custom: {
    50: '#815fc2',
    500: '#3c1ca7',
    950: '#000000',
  },
}
SCSS
$custom: #3c1ca7;
$custom-light: #815fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1ca7",
  "rgb": {
    "r": 60,
    "g": 28,
    "b": 167
  },
  "hsl": {
    "h": 253.813,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38106,
    "c": 0.20025,
    "h": 281.8
  },
  "luminance": 0.04581
}

Semantic roles & 50–950 ramp

primary
#3C1CA7
secondary
#ADC758
accent
#EE3AC5
background
#F8F5FC
surface
#F0E9F8
border
#CBC5D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3C1CA7

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

Preview Lab → · Contrast checker → · Palette generator →

#3C1CA7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva