#3C1464#3C1464

#3C1464 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.4% C 0.131 H 301.6°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#3C1464
RGBrgb(60, 20, 100)
HSLhsl(270, 67%, 24%)
HSVhsv(270, 80%, 39%)
CMYKcmyk(40%, 80%, 0%, 60.8%)
CIE-LABlab(17.37, 35.87, -39.10)
CIE-LCHlch(17.37, 53.06, 312.54°)
OKLaboklab(30.39% 0.0687 -0.1116)
OKLCHoklch(30.39% 0.131 301.6)
XYZxyz(4.4133, 2.3810, 12.2812)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1464 #3C6414
analogous
#141464 #3C1464 #641464
triadic
#3C1464 #643C14 #14643C
tetradic
#3C1464 #641414 #3C6414 #146464
square
#3C1464 #641414 #3C6414 #146464
split-complementary
#3C1464 #646414 #146414
monochromatic
#0F051A #1D0A31 #3C1464 #5B1E97 #7928CA

Accessibility & contrast

On white

14.23
#3C1464 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#3C1464 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1464
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1464#FFFFFF#000000##FFFFFF
##3C14641.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A66
Deuteranopia (green-blind)
#002A62
Tritanopia (blue-blind)
#33293B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3c1464;
/* rgb */ color: rgb(60, 20, 100);
/* oklch */ color: oklch(30.4% 0.131 301.6);
Tailwind
colors: {
  custom: {
    50: '#765691',
    500: '#3c1464',
    950: '#000000',
  },
}
SCSS
$custom: #3c1464;
$custom-light: #765691;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1464",
  "rgb": {
    "r": 60,
    "g": 20,
    "b": 100
  },
  "hsl": {
    "h": 270,
    "s": 66.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30387,
    "c": 0.131,
    "h": 301.6
  },
  "luminance": 0.02381
}

Semantic roles & 50–950 ramp

primary
#3C1464
secondary
#6A9B38
accent
#EA3E94
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3C1464

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

Preview Lab → · Contrast checker → · Palette generator →

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