#3C1971#3C1971

#3C1971 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.2% C 0.140 H 295.5°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#3C1971
RGBrgb(60, 25, 113)
HSLhsl(264, 64%, 27%)
HSVhsv(264, 78%, 44%)
CMYKcmyk(46.9%, 77.9%, 0%, 55.7%)
CIE-LABlab(19.42, 37.01, -44.23)
CIE-LCHlch(19.42, 57.67, 309.92°)
OKLaboklab(32.2% 0.0604 -0.1267)
OKLCHoklch(32.2% 0.14 295.5)
XYZxyz(5.1909, 2.8480, 15.8958)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1971 #4E7119
analogous
#192271 #3C1971 #681971
triadic
#3C1971 #713C19 #19713C
tetradic
#3C1971 #711922 #4E7119 #197168
square
#3C1971 #711922 #4E7119 #197168
split-complementary
#3C1971 #716819 #227119
monochromatic
#0D0619 #210E3F #3C1971 #5724A3 #7233D2

Accessibility & contrast

On white

13.38
#3C1971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#3C1971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1971
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1971#FFFFFF#000000##FFFFFF
##3C19711.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003074
Deuteranopia (green-blind)
#002E6F
Tritanopia (blue-blind)
#2D3044
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3c1971;
/* rgb */ color: rgb(60, 25, 113);
/* oklch */ color: oklch(32.2% 0.140 295.5);
Tailwind
colors: {
  custom: {
    50: '#785a9b',
    500: '#3c1971',
    950: '#000000',
  },
}
SCSS
$custom: #3c1971;
$custom-light: #785a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1971",
  "rgb": {
    "r": 60,
    "g": 25,
    "b": 113
  },
  "hsl": {
    "h": 263.864,
    "s": 63.768,
    "l": 27.059
  },
  "oklch": {
    "l": 0.32201,
    "c": 0.14034,
    "h": 295.5
  },
  "luminance": 0.02848
}

Semantic roles & 50–950 ramp

primary
#3C1971
secondary
#7DA640
accent
#E741A5
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3C1971

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

Preview Lab → · Contrast checker → · Palette generator →

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