#3C1674#3C1674

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

Color values

HEX#3C1674
RGBrgb(60, 22, 116)
HSLhsl(264, 68%, 27%)
HSVhsv(264, 81%, 45%)
CMYKcmyk(48.3%, 81%, 0%, 54.5%)
CIE-LABlab(19.20, 39.30, -46.53)
CIE-LCHlch(19.20, 60.91, 310.19°)
OKLaboklab(32.14% 0.0622 -0.1334)
OKLCHoklch(32.14% 0.147 295)
XYZxyz(5.3019, 2.7953, 16.7798)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1674 #4E7416
analogous
#161F74 #3C1674 #6B1674
triadic
#3C1674 #743C16 #16743C
tetradic
#3C1674 #74161F #4E7416 #16746B
square
#3C1674 #74161F #4E7416 #16746B
split-complementary
#3C1674 #746B16 #1F7416
monochromatic
#0D051A #210C41 #3C1674 #5720A7 #722DD7

Accessibility & contrast

On white

13.47
#3C1674 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#3C1674 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1674
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1674#FFFFFF#000000##FFFFFF
##3C16741.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c1674;
/* rgb */ color: rgb(60, 22, 116);
/* oklch */ color: oklch(32.1% 0.147 295.0);
Tailwind
colors: {
  custom: {
    50: '#78589d',
    500: '#3c1674',
    950: '#000000',
  },
}
SCSS
$custom: #3c1674;
$custom-light: #78589d;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1674",
  "rgb": {
    "r": 60,
    "g": 22,
    "b": 116
  },
  "hsl": {
    "h": 264.255,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.32135,
    "c": 0.14718,
    "h": 295
  },
  "luminance": 0.02795
}

Semantic roles & 50–950 ramp

primary
#3C1674
secondary
#7DAA3C
accent
#EB3DA5
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #3C1674

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

Preview Lab → · Contrast checker → · Palette generator →

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