#3C1EA7#3C1EA7

#3C1EA7 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.3% C 0.199 H 281.6°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#3C1EA7
RGBrgb(60, 30, 167)
HSLhsl(253, 70%, 39%)
HSVhsv(253, 82%, 65%)
CMYKcmyk(64.1%, 82%, 0%, 34.5%)
CIE-LABlab(25.80, 50.24, -67.45)
CIE-LCHlch(25.80, 84.11, 306.68°)
OKLaboklab(38.31% 0.04 -0.1946)
OKLCHoklch(38.31% 0.199 281.6)
XYZxyz(9.3006, 4.6785, 36.9647)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1EA7 #89A71E
analogous
#1E44A7 #3C1EA7 #801EA7
triadic
#3C1EA7 #A73C1E #1EA73C
tetradic
#3C1EA7 #A71E44 #89A71E #1EA780
square
#3C1EA7 #A71E44 #89A71E #1EA780
split-complementary
#3C1EA7 #A7801E #44A71E
monochromatic
#170B3F #291573 #3C1EA7 #502AD9 #7A5DE2

Accessibility & contrast

On white

10.85
#3C1EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#3C1EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1EA7
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1EA7#FFFFFF#000000##FFFFFF
##3C1EA71.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AB
Deuteranopia (green-blind)
#0038A5
Tritanopia (blue-blind)
#004864
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3c1ea7;
/* rgb */ color: rgb(60, 30, 167);
/* oklch */ color: oklch(38.3% 0.199 281.6);
Tailwind
colors: {
  custom: {
    50: '#8160c2',
    500: '#3c1ea7',
    950: '#000000',
  },
}
SCSS
$custom: #3c1ea7;
$custom-light: #8160c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1ea7",
  "rgb": {
    "r": 60,
    "g": 30,
    "b": 167
  },
  "hsl": {
    "h": 253.139,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.38309,
    "c": 0.19869,
    "h": 281.6
  },
  "luminance": 0.04679
}

Semantic roles & 50–950 ramp

primary
#3C1EA7
secondary
#AFC65B
accent
#EC3BC6
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3C1EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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