#3C1E71#3C1E71

#3C1E71 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 32.9% C 0.134 H 294.4°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#3C1E71
RGBrgb(60, 30, 113)
HSLhsl(262, 58%, 28%)
HSVhsv(262, 73%, 44%)
CMYKcmyk(46.9%, 73.5%, 0%, 55.7%)
CIE-LABlab(20.37, 34.36, -42.70)
CIE-LCHlch(20.37, 54.80, 308.83°)
OKLaboklab(32.87% 0.0553 -0.1222)
OKLCHoklch(32.87% 0.134 294.4)
XYZxyz(5.3076, 3.0813, 15.9347)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1E71 #53711E
analogous
#1E2971 #3C1E71 #651E71
triadic
#3C1E71 #713C1E #1E713C
tetradic
#3C1E71 #711E29 #53711E #1E7165
square
#3C1E71 #711E29 #53711E #1E7165
split-complementary
#3C1E71 #71651E #29711E
monochromatic
#0D0618 #221141 #3C1E71 #562BA1 #713ECC

Accessibility & contrast

On white

12.99
#3C1E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#3C1E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1E71
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1E71#FFFFFF#000000##FFFFFF
##3C1E711.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003273
Deuteranopia (green-blind)
#00306F
Tritanopia (blue-blind)
#2D3345
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3c1e71;
/* rgb */ color: rgb(60, 30, 113);
/* oklch */ color: oklch(32.9% 0.134 294.4);
Tailwind
colors: {
  custom: {
    50: '#775c9b',
    500: '#3c1e71',
    950: '#000000',
  },
}
SCSS
$custom: #3c1e71;
$custom-light: #775c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1e71",
  "rgb": {
    "r": 60,
    "g": 30,
    "b": 113
  },
  "hsl": {
    "h": 261.687,
    "s": 58.042,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32868,
    "c": 0.13415,
    "h": 294.4
  },
  "luminance": 0.03081
}

Semantic roles & 50–950 ramp

primary
#3C1E71
secondary
#83A546
accent
#E147A9
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3C1E71

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

Preview Lab → · Contrast checker → · Palette generator →

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