#3C1E72#3C1E72

#3C1E72 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.0% C 0.135 H 294.0°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#3C1E72
RGBrgb(60, 30, 114)
HSLhsl(261, 58%, 28%)
HSVhsv(261, 74%, 45%)
CMYKcmyk(47.4%, 73.7%, 0%, 55.3%)
CIE-LABlab(20.46, 34.65, -43.19)
CIE-LCHlch(20.46, 55.38, 308.74°)
OKLaboklab(32.96% 0.0551 -0.1237)
OKLCHoklch(32.96% 0.135 294)
XYZxyz(5.3642, 3.1040, 16.2328)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1E72 #54721E
analogous
#1E2A72 #3C1E72 #661E72
triadic
#3C1E72 #723C1E #1E723C
tetradic
#3C1E72 #721E2A #54721E #1E7266
square
#3C1E72 #721E2A #54721E #1E7266
split-complementary
#3C1E72 #72661E #2A721E
monochromatic
#0D0618 #221142 #3C1E72 #562BA2 #713ECC

Accessibility & contrast

On white

12.96
#3C1E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C1E72
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1E72#FFFFFF#000000##FFFFFF
##3C1E721.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003274
Deuteranopia (green-blind)
#003070
Tritanopia (blue-blind)
#2C3345
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3c1e72;
/* rgb */ color: rgb(60, 30, 114);
/* oklch */ color: oklch(33.0% 0.135 294.0);
Tailwind
colors: {
  custom: {
    50: '#775c9b',
    500: '#3c1e72',
    950: '#000000',
  },
}
SCSS
$custom: #3c1e72;
$custom-light: #775c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1e72",
  "rgb": {
    "r": 60,
    "g": 30,
    "b": 114
  },
  "hsl": {
    "h": 261.429,
    "s": 58.333,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32959,
    "c": 0.13541,
    "h": 294
  },
  "luminance": 0.03104
}

Semantic roles & 50–950 ramp

primary
#3C1E72
secondary
#84A646
accent
#E246AA
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3C1E72

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

Preview Lab → · Contrast checker → · Palette generator →

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