#3C1CA6#3C1CA6

#3C1CA6 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 38.0% C 0.199 H 282.0°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#3C1CA6
RGBrgb(60, 28, 166)
HSLhsl(254, 71%, 38%)
HSVhsv(254, 83%, 65%)
CMYKcmyk(63.9%, 83.1%, 0%, 34.9%)
CIE-LABlab(25.39, 50.82, -67.52)
CIE-LCHlch(25.39, 84.51, 306.97°)
OKLaboklab(38% 0.0413 -0.1948)
OKLCHoklch(38% 0.199 282)
XYZxyz(9.1595, 4.5437, 36.4633)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1CA6 #86A61C
analogous
#1C41A6 #3C1CA6 #811CA6
triadic
#3C1CA6 #A63C1C #1CA63C
tetradic
#3C1CA6 #A61C41 #86A61C #1CA681
square
#3C1CA6 #A61C41 #86A61C #1CA681
split-complementary
#3C1CA6 #A6811C #41A61C
monochromatic
#160A3D #291372 #3C1CA6 #4F25DA #7959E3

Accessibility & contrast

On white

11.00
#3C1CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#3C1CA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1CA6
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1CA6#FFFFFF#000000##FFFFFF
##3C1CA61.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AA
Deuteranopia (green-blind)
#0037A4
Tritanopia (blue-blind)
#004763
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3c1ca6;
/* rgb */ color: rgb(60, 28, 166);
/* oklch */ color: oklch(38.0% 0.199 282.0);
Tailwind
colors: {
  custom: {
    50: '#815fc2',
    500: '#3c1ca6',
    950: '#000000',
  },
}
SCSS
$custom: #3c1ca6;
$custom-light: #815fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1ca6",
  "rgb": {
    "r": 60,
    "g": 28,
    "b": 166
  },
  "hsl": {
    "h": 253.913,
    "s": 71.134,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37997,
    "c": 0.19912,
    "h": 282
  },
  "luminance": 0.04544
}

Semantic roles & 50–950 ramp

primary
#3C1CA6
secondary
#ADC757
accent
#EE3AC4
background
#F8F5FC
surface
#F0E9F8
border
#CBC5D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3C1CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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