#3C1970#3C1970

#3C1970 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.1% C 0.139 H 295.8°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#3C1970
RGBrgb(60, 25, 112)
HSLhsl(264, 64%, 27%)
HSVhsv(264, 78%, 44%)
CMYKcmyk(46.4%, 77.7%, 0%, 56.1%)
CIE-LABlab(19.33, 36.73, -43.74)
CIE-LCHlch(19.33, 57.11, 310.02°)
OKLaboklab(32.11% 0.0606 -0.1252)
OKLCHoklch(32.11% 0.139 295.8)
XYZxyz(5.1350, 2.8257, 15.6009)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1970 #4D7019
analogous
#192270 #3C1970 #681970
triadic
#3C1970 #703C19 #19703C
tetradic
#3C1970 #701922 #4D7019 #197068
square
#3C1970 #701922 #4D7019 #197068
split-complementary
#3C1970 #706819 #227019
monochromatic
#0D0619 #210E3E #3C1970 #5724A2 #7232D1

Accessibility & contrast

On white

13.42
#3C1970 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C1970
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1970#FFFFFF#000000##FFFFFF
##3C19701.0013.421.5713.42
#FFFFFF13.421.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F72
Deuteranopia (green-blind)
#002E6E
Tritanopia (blue-blind)
#2E3043
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3c1970;
/* rgb */ color: rgb(60, 25, 112);
/* oklch */ color: oklch(32.1% 0.139 295.8);
Tailwind
colors: {
  custom: {
    50: '#775a9a',
    500: '#3c1970',
    950: '#000000',
  },
}
SCSS
$custom: #3c1970;
$custom-light: #775a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1970",
  "rgb": {
    "r": 60,
    "g": 25,
    "b": 112
  },
  "hsl": {
    "h": 264.138,
    "s": 63.504,
    "l": 26.863
  },
  "oklch": {
    "l": 0.32107,
    "c": 0.13915,
    "h": 295.8
  },
  "luminance": 0.02826
}

Semantic roles & 50–950 ramp

primary
#3C1970
secondary
#7CA540
accent
#E741A4
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3C1970

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

Preview Lab → · Contrast checker → · Palette generator →

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