#3C1164#3C1164

#3C1164 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.1% C 0.134 H 302.1°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#3C1164
RGBrgb(60, 17, 100)
HSLhsl(271, 71%, 23%)
HSVhsv(271, 83%, 39%)
CMYKcmyk(40%, 83%, 0%, 60.8%)
CIE-LABlab(16.90, 37.22, -39.86)
CIE-LCHlch(16.90, 54.54, 313.04°)
OKLaboklab(30.06% 0.0715 -0.1138)
OKLCHoklch(30.06% 0.134 302.1)
XYZxyz(4.3636, 2.2816, 12.2646)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1164 #396411
analogous
#121164 #3C1164 #641162
triadic
#3C1164 #643C11 #11643C
tetradic
#3C1164 #641211 #396411 #116264
square
#3C1164 #641211 #396411 #116264
split-complementary
#3C1164 #626411 #116412
monochromatic
#10041A #1D0830 #3C1164 #5B1A98 #7B23CD

Accessibility & contrast

On white

14.42
#3C1164 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#3C1164 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1164
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1164#FFFFFF#000000##FFFFFF
##3C11641.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002966
Deuteranopia (green-blind)
#002962
Tritanopia (blue-blind)
#33273A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3c1164;
/* rgb */ color: rgb(60, 17, 100);
/* oklch */ color: oklch(30.1% 0.134 302.1);
Tailwind
colors: {
  custom: {
    50: '#765591',
    500: '#3c1164',
    950: '#000000',
  },
}
SCSS
$custom: #3c1164;
$custom-light: #765591;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1164",
  "rgb": {
    "r": 60,
    "g": 17,
    "b": 100
  },
  "hsl": {
    "h": 271.084,
    "s": 70.94,
    "l": 22.941
  },
  "oklch": {
    "l": 0.30057,
    "c": 0.1344,
    "h": 302.1
  },
  "luminance": 0.02282
}

Semantic roles & 50–950 ramp

primary
#3C1164
secondary
#679C35
accent
#EE3A91
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3C1164

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

Preview Lab → · Contrast checker → · Palette generator →

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