#3C1EA0#3C1EA0

#3C1EA0 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.6% C 0.191 H 282.8°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#3C1EA0
RGBrgb(60, 30, 160)
HSLhsl(254, 68%, 37%)
HSVhsv(254, 81%, 63%)
CMYKcmyk(62.5%, 81.3%, 0%, 37.3%)
CIE-LABlab(25.03, 48.21, -64.47)
CIE-LCHlch(25.03, 80.50, 306.79°)
OKLaboklab(37.56% 0.0422 -0.1859)
OKLCHoklch(37.56% 0.191 282.8)
XYZxyz(8.6709, 4.4267, 33.6484)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1EA0 #82A01E
analogous
#1E41A0 #3C1EA0 #7D1EA0
triadic
#3C1EA0 #A03C1E #1EA03C
tetradic
#3C1EA0 #A01E41 #82A01E #1EA07D
square
#3C1EA0 #A01E41 #82A01E #1EA07D
split-complementary
#3C1EA0 #A07D1E #41A01E
monochromatic
#150B39 #29146C #3C1EA0 #4F28D4 #7859E0

Accessibility & contrast

On white

11.14
#3C1EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C1EA0
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1EA0#FFFFFF#000000##FFFFFF
##3C1EA01.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA4
Deuteranopia (green-blind)
#00379E
Tritanopia (blue-blind)
#004660
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3c1ea0;
/* rgb */ color: rgb(60, 30, 160);
/* oklch */ color: oklch(37.6% 0.191 282.8);
Tailwind
colors: {
  custom: {
    50: '#7f5fbd',
    500: '#3c1ea0',
    950: '#000000',
  },
}
SCSS
$custom: #3c1ea0;
$custom-light: #7f5fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1ea0",
  "rgb": {
    "r": 60,
    "g": 30,
    "b": 160
  },
  "hsl": {
    "h": 253.846,
    "s": 68.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37555,
    "c": 0.19067,
    "h": 282.8
  },
  "luminance": 0.04427
}

Semantic roles & 50–950 ramp

primary
#3C1EA0
secondary
#AAC456
accent
#EB3DC3
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3C1EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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