#3C1A94#3C1A94

#3C1A94 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.9% C 0.180 H 285.6°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#3C1A94
RGBrgb(60, 26, 148)
HSLhsl(257, 70%, 34%)
HSVhsv(257, 82%, 58%)
CMYKcmyk(59.5%, 82.4%, 0%, 42%)
CIE-LABlab(23.13, 46.54, -60.26)
CIE-LCHlch(23.13, 76.14, 307.68°)
OKLaboklab(35.85% 0.0486 -0.1736)
OKLCHoklch(35.85% 0.18 285.6)
XYZxyz(7.5765, 3.8371, 28.3526)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1A94 #72941A
analogous
#1A3594 #3C1A94 #791A94
triadic
#3C1A94 #943C1A #1A943C
tetradic
#3C1A94 #941A35 #72941A #1A9479
square
#3C1A94 #941A35 #72941A #1A9479
split-complementary
#3C1A94 #94791A #35941A
monochromatic
#12082C #271160 #3C1A94 #5123C8 #7349DF

Accessibility & contrast

On white

11.88
#3C1A94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#3C1A94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1A94
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1A94#FFFFFF#000000##FFFFFF
##3C1A941.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A97
Deuteranopia (green-blind)
#003392
Tritanopia (blue-blind)
#0A3F58
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3c1a94;
/* rgb */ color: rgb(60, 26, 148);
/* oklch */ color: oklch(35.9% 0.180 285.6);
Tailwind
colors: {
  custom: {
    50: '#7d5cb5',
    500: '#3c1a94',
    950: '#000000',
  },
}
SCSS
$custom: #3c1a94;
$custom-light: #7d5cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1a94",
  "rgb": {
    "r": 60,
    "g": 26,
    "b": 148
  },
  "hsl": {
    "h": 256.721,
    "s": 70.115,
    "l": 34.118
  },
  "oklch": {
    "l": 0.3585,
    "c": 0.18026,
    "h": 285.6
  },
  "luminance": 0.03838
}

Semantic roles & 50–950 ramp

primary
#3C1A94
secondary
#9FC149
accent
#ED3BBB
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #3C1A94

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

Preview Lab → · Contrast checker → · Palette generator →

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