#3C1474#3C1474

#3C1474 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.9% C 0.149 H 295.3°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#3C1474
RGBrgb(60, 20, 116)
HSLhsl(265, 71%, 27%)
HSVhsv(265, 83%, 45%)
CMYKcmyk(48.3%, 82.8%, 0%, 54.5%)
CIE-LABlab(18.89, 40.20, -47.04)
CIE-LCHlch(18.89, 61.88, 310.52°)
OKLaboklab(31.92% 0.0638 -0.1349)
OKLCHoklch(31.92% 0.149 295.3)
XYZxyz(5.2652, 2.7218, 16.7676)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1474 #4C7414
analogous
#141C74 #3C1474 #6C1474
triadic
#3C1474 #743C14 #14743C
tetradic
#3C1474 #74141C #4C7414 #14746C
square
#3C1474 #74141C #4C7414 #14746C
split-complementary
#3C1474 #746C14 #1C7414
monochromatic
#0E051A #210B40 #3C1474 #571DA8 #7228DA

Accessibility & contrast

On white

13.60
#3C1474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#3C1474 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1474
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1474#FFFFFF#000000##FFFFFF
##3C14741.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F77
Deuteranopia (green-blind)
#002C72
Tritanopia (blue-blind)
#2C2F44
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3c1474;
/* rgb */ color: rgb(60, 20, 116);
/* oklch */ color: oklch(31.9% 0.149 295.3);
Tailwind
colors: {
  custom: {
    50: '#78579d',
    500: '#3c1474',
    950: '#000000',
  },
}
SCSS
$custom: #3c1474;
$custom-light: #78579d;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1474",
  "rgb": {
    "r": 60,
    "g": 20,
    "b": 116
  },
  "hsl": {
    "h": 265,
    "s": 70.588,
    "l": 26.667
  },
  "oklch": {
    "l": 0.31918,
    "c": 0.14922,
    "h": 295.3
  },
  "luminance": 0.02722
}

Semantic roles & 50–950 ramp

primary
#3C1474
secondary
#7BAA3A
accent
#ED3AA3
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #3C1474

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

Preview Lab → · Contrast checker → · Palette generator →

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