#3C1660#3C1660

#3C1660 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.3% C 0.124 H 303.0°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#3C1660
RGBrgb(60, 22, 96)
HSLhsl(271, 63%, 23%)
HSVhsv(271, 77%, 38%)
CMYKcmyk(37.5%, 77.1%, 0%, 62.4%)
CIE-LABlab(17.36, 33.82, -36.46)
CIE-LCHlch(17.36, 49.73, 312.85°)
OKLaboklab(30.27% 0.0675 -0.1038)
OKLCHoklch(30.27% 0.124 303)
XYZxyz(4.2612, 2.3790, 11.2988)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1660 #3A6016
analogous
#171660 #3C1660 #60165F
triadic
#3C1660 #603C16 #16603C
tetradic
#3C1660 #601716 #3A6016 #165F60
square
#3C1660 #601716 #3A6016 #165F60
split-complementary
#3C1660 #5F6016 #166017
monochromatic
#100619 #1D0B2E #3C1660 #5B2192 #7A2DC4

Accessibility & contrast

On white

14.23
#3C1660 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#3C1660 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1660
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1660#FFFFFF#000000##FFFFFF
##3C16601.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A62
Deuteranopia (green-blind)
#002A5E
Tritanopia (blue-blind)
#352839
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3c1660;
/* rgb */ color: rgb(60, 22, 96);
/* oklch */ color: oklch(30.3% 0.124 303.0);
Tailwind
colors: {
  custom: {
    50: '#76578e',
    500: '#3c1660',
    950: '#000000',
  },
}
SCSS
$custom: #3c1660;
$custom-light: #76578e;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1660",
  "rgb": {
    "r": 60,
    "g": 22,
    "b": 96
  },
  "hsl": {
    "h": 270.811,
    "s": 62.712,
    "l": 23.137
  },
  "oklch": {
    "l": 0.3027,
    "c": 0.12387,
    "h": 303
  },
  "luminance": 0.02379
}

Semantic roles & 50–950 ramp

primary
#3C1660
secondary
#68973B
accent
#E64292
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3C1660

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

Preview Lab → · Contrast checker → · Palette generator →

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