#3C1895#3C1895

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

Color values

HEX#3C1895
RGBrgb(60, 24, 149)
HSLhsl(257, 72%, 34%)
HSVhsv(257, 84%, 58%)
CMYKcmyk(59.7%, 83.9%, 0%, 41.6%)
CIE-LABlab(22.94, 47.68, -61.18)
CIE-LCHlch(22.94, 77.56, 307.93°)
OKLaboklab(35.76% 0.0494 -0.1763)
OKLCHoklch(35.76% 0.183 285.6)
XYZxyz(7.6133, 3.7834, 28.7570)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1895 #719518
analogous
#183395 #3C1895 #7B1895
triadic
#3C1895 #953C18 #18953C
tetradic
#3C1895 #951833 #719518 #18957B
square
#3C1895 #951833 #719518 #18957B
split-complementary
#3C1895 #957B18 #339518
monochromatic
#12072C #271060 #3C1895 #5120CA #7346E1

Accessibility & contrast

On white

11.95
#3C1895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C1895
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1895#FFFFFF#000000##FFFFFF
##3C18951.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A98
Deuteranopia (green-blind)
#003393
Tritanopia (blue-blind)
#083F58
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3c1895;
/* rgb */ color: rgb(60, 24, 149);
/* oklch */ color: oklch(35.8% 0.183 285.6);
Tailwind
colors: {
  custom: {
    50: '#7e5bb5',
    500: '#3c1895',
    950: '#000000',
  },
}
SCSS
$custom: #3c1895;
$custom-light: #7e5bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1895",
  "rgb": {
    "r": 60,
    "g": 24,
    "b": 149
  },
  "hsl": {
    "h": 257.28,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35756,
    "c": 0.18304,
    "h": 285.6
  },
  "luminance": 0.03784
}

Semantic roles & 50–950 ramp

primary
#3C1895
secondary
#9FC246
accent
#EF39BB
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #3C1895

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

Preview Lab → · Contrast checker → · Palette generator →

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