#3C1C99#3C1C99

#3C1C99 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.6% C 0.184 H 284.4°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#3C1C99
RGBrgb(60, 28, 153)
HSLhsl(255, 69%, 35%)
HSVhsv(255, 82%, 60%)
CMYKcmyk(60.8%, 81.7%, 0%, 40%)
CIE-LABlab(23.97, 47.09, -61.95)
CIE-LCHlch(23.97, 77.81, 307.24°)
OKLaboklab(36.59% 0.0457 -0.1785)
OKLCHoklch(36.59% 0.184 284.4)
XYZxyz(8.0267, 4.0906, 30.4974)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1C99 #79991C
analogous
#1C3A99 #3C1C99 #7A1C99
triadic
#3C1C99 #993C1C #1C993C
tetradic
#3C1C99 #991C3A #79991C #1C997A
square
#3C1C99 #991C3A #79991C #1C997A
split-complementary
#3C1C99 #997A1C #3A991C
monochromatic
#130932 #281365 #3C1C99 #5025CD #7550DF

Accessibility & contrast

On white

11.55
#3C1C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#3C1C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1C99
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1C99#FFFFFF#000000##FFFFFF
##3C1C991.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9C
Deuteranopia (green-blind)
#003597
Tritanopia (blue-blind)
#00425B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3c1c99;
/* rgb */ color: rgb(60, 28, 153);
/* oklch */ color: oklch(36.6% 0.184 284.4);
Tailwind
colors: {
  custom: {
    50: '#7e5eb8',
    500: '#3c1c99',
    950: '#000000',
  },
}
SCSS
$custom: #3c1c99;
$custom-light: #7e5eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1c99",
  "rgb": {
    "r": 60,
    "g": 28,
    "b": 153
  },
  "hsl": {
    "h": 255.36,
    "s": 69.061,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36593,
    "c": 0.1843,
    "h": 284.4
  },
  "luminance": 0.04091
}

Semantic roles & 50–950 ramp

primary
#3C1C99
secondary
#A4C24F
accent
#EC3CBF
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3C1C99

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

Preview Lab → · Contrast checker → · Palette generator →

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