#3C1E88#3C1E88

#3C1E88 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.1% C 0.162 H 287.8°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#3C1E88
RGBrgb(60, 30, 136)
HSLhsl(257, 64%, 33%)
HSVhsv(257, 78%, 53%)
CMYKcmyk(55.9%, 77.9%, 0%, 46.7%)
CIE-LABlab(22.54, 41.16, -53.76)
CIE-LCHlch(22.54, 67.71, 307.44°)
OKLaboklab(35.07% 0.0496 -0.1547)
OKLCHoklch(35.07% 0.162 287.8)
XYZxyz(6.7704, 3.6664, 23.6387)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1E88 #6A881E
analogous
#1E3588 #3C1E88 #711E88
triadic
#3C1E88 #883C1E #1E883C
tetradic
#3C1E88 #881E35 #6A881E #1E8871
square
#3C1E88 #881E35 #6A881E #1E8871
split-complementary
#3C1E88 #88711E #35881E
monochromatic
#100824 #261356 #3C1E88 #5229BA #7149D7

Accessibility & contrast

On white

12.11
#3C1E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#3C1E88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1E88
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1E88#FFFFFF#000000##FFFFFF
##3C1E881.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388B
Deuteranopia (green-blind)
#003386
Tritanopia (blue-blind)
#1C3C52
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3c1e88;
/* rgb */ color: rgb(60, 30, 136);
/* oklch */ color: oklch(35.1% 0.162 287.8);
Tailwind
colors: {
  custom: {
    50: '#7b5eac',
    500: '#3c1e88',
    950: '#000000',
  },
}
SCSS
$custom: #3c1e88;
$custom-light: #7b5eac;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1e88",
  "rgb": {
    "r": 60,
    "g": 30,
    "b": 136
  },
  "hsl": {
    "h": 256.981,
    "s": 63.855,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35067,
    "c": 0.16243,
    "h": 287.8
  },
  "luminance": 0.03667
}

Semantic roles & 50–950 ramp

primary
#3C1E88
secondary
#99B949
accent
#E741B8
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3C1E88

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

Preview Lab → · Contrast checker → · Palette generator →

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