#3C1CA5#3C1CA5

#3C1CA5 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.9% C 0.198 H 282.1°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#3C1CA5
RGBrgb(60, 28, 165)
HSLhsl(254, 71%, 38%)
HSVhsv(254, 83%, 65%)
CMYKcmyk(63.6%, 83%, 0%, 35.3%)
CIE-LABlab(25.28, 50.53, -67.10)
CIE-LCHlch(25.28, 84.00, 306.98°)
OKLaboklab(37.89% 0.0416 -0.1936)
OKLCHoklch(37.89% 0.198 282.1)
XYZxyz(9.0681, 4.5071, 35.9821)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1CA5 #85A51C
analogous
#1C40A5 #3C1CA5 #811CA5
triadic
#3C1CA5 #A53C1C #1CA53C
tetradic
#3C1CA5 #A51C40 #85A51C #1CA581
square
#3C1CA5 #A51C40 #85A51C #1CA581
split-complementary
#3C1CA5 #A5811C #40A51C
monochromatic
#160A3C #291371 #3C1CA5 #4F25D9 #7959E3

Accessibility & contrast

On white

11.04
#3C1CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#3C1CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1CA5
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1CA5#FFFFFF#000000##FFFFFF
##3C1CA51.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A9
Deuteranopia (green-blind)
#0037A3
Tritanopia (blue-blind)
#004762
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3c1ca5;
/* rgb */ color: rgb(60, 28, 165);
/* oklch */ color: oklch(37.9% 0.198 282.1);
Tailwind
colors: {
  custom: {
    50: '#805ec1',
    500: '#3c1ca5',
    950: '#000000',
  },
}
SCSS
$custom: #3c1ca5;
$custom-light: #805ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1ca5",
  "rgb": {
    "r": 60,
    "g": 28,
    "b": 165
  },
  "hsl": {
    "h": 254.015,
    "s": 70.984,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37887,
    "c": 0.19799,
    "h": 282.1
  },
  "luminance": 0.04508
}

Semantic roles & 50–950 ramp

primary
#3C1CA5
secondary
#ACC656
accent
#EE3AC4
background
#F8F5FC
surface
#F0E9F8
border
#CBC5D1
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #3C1CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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