#3C1774#3C1774

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

Color values

HEX#3C1774
RGBrgb(60, 23, 116)
HSLhsl(264, 67%, 27%)
HSVhsv(264, 80%, 45%)
CMYKcmyk(48.3%, 80.2%, 0%, 54.5%)
CIE-LABlab(19.37, 38.83, -46.26)
CIE-LCHlch(19.37, 60.40, 310.01°)
OKLaboklab(32.25% 0.0613 -0.1326)
OKLCHoklch(32.25% 0.146 294.8)
XYZxyz(5.3214, 2.8343, 16.7863)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1774 #4F7417
analogous
#172174 #3C1774 #6B1774
triadic
#3C1774 #743C17 #17743C
tetradic
#3C1774 #741721 #4F7417 #17746B
square
#3C1774 #741721 #4F7417 #17746B
split-complementary
#3C1774 #746B17 #217417
monochromatic
#0D051A #220D41 #3C1774 #5621A7 #7230D6

Accessibility & contrast

On white

13.40
#3C1774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C1774
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1774#FFFFFF#000000##FFFFFF
##3C17741.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003077
Deuteranopia (green-blind)
#002D72
Tritanopia (blue-blind)
#2C3145
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3c1774;
/* rgb */ color: rgb(60, 23, 116);
/* oklch */ color: oklch(32.2% 0.146 294.8);
Tailwind
colors: {
  custom: {
    50: '#78599d',
    500: '#3c1774',
    950: '#000000',
  },
}
SCSS
$custom: #3c1774;
$custom-light: #78599d;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1774",
  "rgb": {
    "r": 60,
    "g": 23,
    "b": 116
  },
  "hsl": {
    "h": 263.871,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.32248,
    "c": 0.14613,
    "h": 294.8
  },
  "luminance": 0.02834
}

Semantic roles & 50–950 ramp

primary
#3C1774
secondary
#7EA93D
accent
#EA3EA5
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #3C1774

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

Preview Lab → · Contrast checker → · Palette generator →

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