#3C1671#3C1671

#3C1671 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.8% C 0.144 H 296.0°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#3C1671
RGBrgb(60, 22, 113)
HSLhsl(265, 67%, 26%)
HSVhsv(265, 81%, 44%)
CMYKcmyk(46.9%, 80.5%, 0%, 55.7%)
CIE-LABlab(18.91, 38.47, -45.07)
CIE-LCHlch(18.91, 59.25, 310.48°)
OKLaboklab(31.84% 0.0631 -0.1291)
OKLCHoklch(31.84% 0.144 296)
XYZxyz(5.1302, 2.7266, 15.8756)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1671 #4B7116
analogous
#161E71 #3C1671 #6A1671
triadic
#3C1671 #713C16 #16713C
tetradic
#3C1671 #71161E #4B7116 #16716A
square
#3C1671 #71161E #4B7116 #16716A
split-complementary
#3C1671 #716A16 #1E7116
monochromatic
#0E051A #210C3E #3C1671 #5720A4 #732CD6

Accessibility & contrast

On white

13.59
#3C1671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#3C1671 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1671
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1671#FFFFFF#000000##FFFFFF
##3C16711.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E74
Deuteranopia (green-blind)
#002D6F
Tritanopia (blue-blind)
#2D2F43
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3c1671;
/* rgb */ color: rgb(60, 22, 113);
/* oklch */ color: oklch(31.8% 0.144 296.0);
Tailwind
colors: {
  custom: {
    50: '#78589b',
    500: '#3c1671',
    950: '#000000',
  },
}
SCSS
$custom: #3c1671;
$custom-light: #78589b;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1671",
  "rgb": {
    "r": 60,
    "g": 22,
    "b": 113
  },
  "hsl": {
    "h": 265.055,
    "s": 67.407,
    "l": 26.471
  },
  "oklch": {
    "l": 0.31843,
    "c": 0.14372,
    "h": 296
  },
  "luminance": 0.02727
}

Semantic roles & 50–950 ramp

primary
#3C1671
secondary
#7AA73C
accent
#EA3EA2
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #3C1671

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

Preview Lab → · Contrast checker → · Palette generator →

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