#3C1A93#3C1A93

#3C1A93 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.7% C 0.179 H 285.8°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#3C1A93
RGBrgb(60, 26, 147)
HSLhsl(257, 70%, 34%)
HSVhsv(257, 82%, 58%)
CMYKcmyk(59.2%, 82.3%, 0%, 42.4%)
CIE-LABlab(23.02, 46.26, -59.82)
CIE-LCHlch(23.02, 75.61, 307.71°)
OKLaboklab(35.74% 0.0489 -0.1723)
OKLCHoklch(35.74% 0.179 285.8)
XYZxyz(7.4977, 3.8056, 27.9376)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1A93 #71931A
analogous
#1A3493 #3C1A93 #791A93
triadic
#3C1A93 #933C1A #1A933C
tetradic
#3C1A93 #931A34 #71931A #1A9379
square
#3C1A93 #931A34 #71931A #1A9379
split-complementary
#3C1A93 #93791A #34931A
monochromatic
#12082B #27115F #3C1A93 #5123C7 #7349DF

Accessibility & contrast

On white

11.92
#3C1A93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#3C1A93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1A93
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1A93#FFFFFF#000000##FFFFFF
##3C1A931.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A96
Deuteranopia (green-blind)
#003391
Tritanopia (blue-blind)
#0C3F57
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3c1a93;
/* rgb */ color: rgb(60, 26, 147);
/* oklch */ color: oklch(35.7% 0.179 285.8);
Tailwind
colors: {
  custom: {
    50: '#7d5cb4',
    500: '#3c1a93',
    950: '#000000',
  },
}
SCSS
$custom: #3c1a93;
$custom-light: #7d5cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1a93",
  "rgb": {
    "r": 60,
    "g": 26,
    "b": 147
  },
  "hsl": {
    "h": 256.86,
    "s": 69.942,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35744,
    "c": 0.17913,
    "h": 285.8
  },
  "luminance": 0.03806
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3C1A93

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

Preview Lab → · Contrast checker → · Palette generator →

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