#3C1EA1#3C1EA1

#3C1EA1 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.7% C 0.192 H 282.6°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#3C1EA1
RGBrgb(60, 30, 161)
HSLhsl(254, 69%, 37%)
HSVhsv(254, 81%, 63%)
CMYKcmyk(62.7%, 81.4%, 0%, 36.9%)
CIE-LABlab(25.14, 48.50, -64.90)
CIE-LCHlch(25.14, 81.02, 306.77°)
OKLaboklab(37.66% 0.0419 -0.1872)
OKLCHoklch(37.66% 0.192 282.6)
XYZxyz(8.7588, 4.4618, 34.1110)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1EA1 #83A11E
analogous
#1E42A1 #3C1EA1 #7D1EA1
triadic
#3C1EA1 #A13C1E #1EA13C
tetradic
#3C1EA1 #A11E42 #83A11E #1EA17D
square
#3C1EA1 #A11E42 #83A11E #1EA17D
split-complementary
#3C1EA1 #A17D1E #42A11E
monochromatic
#160B3A #29146D #3C1EA1 #4F28D5 #7859E0

Accessibility & contrast

On white

11.10
#3C1EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#3C1EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1EA1
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1EA1#FFFFFF#000000##FFFFFF
##3C1EA11.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A5
Deuteranopia (green-blind)
#00379F
Tritanopia (blue-blind)
#004660
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3c1ea1;
/* rgb */ color: rgb(60, 30, 161);
/* oklch */ color: oklch(37.7% 0.192 282.6);
Tailwind
colors: {
  custom: {
    50: '#805fbe',
    500: '#3c1ea1',
    950: '#000000',
  },
}
SCSS
$custom: #3c1ea1;
$custom-light: #805fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1ea1",
  "rgb": {
    "r": 60,
    "g": 30,
    "b": 161
  },
  "hsl": {
    "h": 253.74,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37662,
    "c": 0.19181,
    "h": 282.6
  },
  "luminance": 0.04462
}

Semantic roles & 50–950 ramp

primary
#3C1EA1
secondary
#ABC457
accent
#EB3CC3
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3C1EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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