#3C1EA4#3C1EA4

#3C1EA4 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.0% C 0.195 H 282.1°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#3C1EA4
RGBrgb(60, 30, 164)
HSLhsl(253, 69%, 38%)
HSVhsv(253, 82%, 64%)
CMYKcmyk(63.4%, 81.7%, 0%, 35.7%)
CIE-LABlab(25.47, 49.37, -66.18)
CIE-LCHlch(25.47, 82.57, 306.72°)
OKLaboklab(37.98% 0.0409 -0.1909)
OKLCHoklch(37.98% 0.195 282.1)
XYZxyz(9.0265, 4.5689, 35.5210)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1EA4 #86A41E
analogous
#1E43A4 #3C1EA4 #7F1EA4
triadic
#3C1EA4 #A43C1E #1EA43C
tetradic
#3C1EA4 #A41E43 #86A41E #1EA47F
square
#3C1EA4 #A41E43 #86A41E #1EA47F
split-complementary
#3C1EA4 #A47F1E #43A41E
monochromatic
#160B3D #291570 #3C1EA4 #4F28D8 #795BE1

Accessibility & contrast

On white

10.97
#3C1EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C1EA4
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1EA4#FFFFFF#000000##FFFFFF
##3C1EA41.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A8
Deuteranopia (green-blind)
#0038A2
Tritanopia (blue-blind)
#004762
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3c1ea4;
/* rgb */ color: rgb(60, 30, 164);
/* oklch */ color: oklch(38.0% 0.195 282.1);
Tailwind
colors: {
  custom: {
    50: '#805fc0',
    500: '#3c1ea4',
    950: '#000000',
  },
}
SCSS
$custom: #3c1ea4;
$custom-light: #805fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1ea4",
  "rgb": {
    "r": 60,
    "g": 30,
    "b": 164
  },
  "hsl": {
    "h": 253.433,
    "s": 69.072,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37984,
    "c": 0.19526,
    "h": 282.1
  },
  "luminance": 0.0457
}

Semantic roles & 50–950 ramp

primary
#3C1EA4
secondary
#ADC559
accent
#EC3CC4
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #3C1EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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