#3C1FA1#3C1FA1

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

Color values

HEX#3C1FA1
RGBrgb(60, 31, 161)
HSLhsl(253, 68%, 38%)
HSVhsv(253, 81%, 63%)
CMYKcmyk(62.7%, 80.7%, 0%, 36.9%)
CIE-LABlab(25.30, 48.04, -64.64)
CIE-LCHlch(25.30, 80.54, 306.62°)
OKLaboklab(37.77% 0.0414 -0.1864)
OKLCHoklch(37.77% 0.191 282.5)
XYZxyz(8.7845, 4.5132, 34.1195)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1FA1 #84A11F
analogous
#1F43A1 #3C1FA1 #7D1FA1
triadic
#3C1FA1 #A13C1F #1FA13C
tetradic
#3C1FA1 #A11F43 #84A11F #1FA17D
square
#3C1FA1 #A11F43 #84A11F #1FA17D
split-complementary
#3C1FA1 #A17D1F #43A11F
monochromatic
#160B3A #29156E #3C1FA1 #4F29D4 #795BDF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3C1FA1#FFFFFF#000000##FFFFFF
##3C1FA11.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)
#0040A5
Deuteranopia (green-blind)
#00379F
Tritanopia (blue-blind)
#004660
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3c1fa1;
/* rgb */ color: rgb(60, 31, 161);
/* oklch */ color: oklch(37.8% 0.191 282.5);
Tailwind
colors: {
  custom: {
    50: '#7f60be',
    500: '#3c1fa1',
    950: '#000000',
  },
}
SCSS
$custom: #3c1fa1;
$custom-light: #7f60be;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1fa1",
  "rgb": {
    "r": 60,
    "g": 31,
    "b": 161
  },
  "hsl": {
    "h": 253.385,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37771,
    "c": 0.19097,
    "h": 282.5
  },
  "luminance": 0.04514
}

Semantic roles & 50–950 ramp

primary
#3C1FA1
secondary
#ACC458
accent
#EB3DC4
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3C1FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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