#3C1FAE#3C1FAE

#3C1FAE is a dark, highly saturated violet. Relative luminance 0.050; OKLCH L 39.2% C 0.206 H 280.4°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#3C1FAE
RGBrgb(60, 31, 174)
HSLhsl(252, 70%, 40%)
HSVhsv(252, 82%, 68%)
CMYKcmyk(65.5%, 82.2%, 0%, 31.8%)
CIE-LABlab(26.72, 51.82, -70.14)
CIE-LCHlch(26.72, 87.21, 306.46°)
OKLaboklab(39.17% 0.0372 -0.2025)
OKLCHoklch(39.17% 0.206 280.4)
XYZxyz(9.9910, 4.9958, 40.4740)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1FAE #91AE1F
analogous
#1F49AE #3C1FAE #841FAE
triadic
#3C1FAE #AE3C1F #1FAE3C
tetradic
#3C1FAE #AE1F49 #91AE1F #1FAE84
square
#3C1FAE #AE1F49 #91AE1F #1FAE84
split-complementary
#3C1FAE #AE841F #49AE1F
monochromatic
#180C46 #2A167A #3C1FAE #5330DA #7E64E3

Accessibility & contrast

On white

10.50
#3C1FAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#3C1FAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1FAE
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1FAE#FFFFFF#000000##FFFFFF
##3C1FAE1.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B2
Deuteranopia (green-blind)
#003AAC
Tritanopia (blue-blind)
#004C68
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3c1fae;
/* rgb */ color: rgb(60, 31, 174);
/* oklch */ color: oklch(39.2% 0.206 280.4);
Tailwind
colors: {
  custom: {
    50: '#8261c8',
    500: '#3c1fae',
    950: '#000000',
  },
}
SCSS
$custom: #3c1fae;
$custom-light: #8261c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1fae",
  "rgb": {
    "r": 60,
    "g": 31,
    "b": 174
  },
  "hsl": {
    "h": 252.168,
    "s": 69.756,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39175,
    "c": 0.20586,
    "h": 280.4
  },
  "luminance": 0.04997
}

Semantic roles & 50–950 ramp

primary
#3C1FAE
secondary
#B3C860
accent
#ED3BC9
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3C1FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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