#3C1264#3C1264

#3C1264 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.2% C 0.133 H 302.0°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#3C1264
RGBrgb(60, 18, 100)
HSLhsl(271, 69%, 23%)
HSVhsv(271, 82%, 39%)
CMYKcmyk(40%, 82%, 0%, 60.8%)
CIE-LABlab(17.05, 36.78, -39.62)
CIE-LCHlch(17.05, 54.06, 312.88°)
OKLaboklab(30.16% 0.0706 -0.1131)
OKLCHoklch(30.16% 0.133 302)
XYZxyz(4.3795, 2.3134, 12.2699)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1264 #3A6412
analogous
#131264 #3C1264 #641263
triadic
#3C1264 #643C12 #12643C
tetradic
#3C1264 #641312 #3A6412 #126364
square
#3C1264 #641312 #3A6412 #126364
split-complementary
#3C1264 #636412 #126413
monochromatic
#10051A #1D0930 #3C1264 #5B1B98 #7A25CC

Accessibility & contrast

On white

14.36
#3C1264 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C1264
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1264#FFFFFF#000000##FFFFFF
##3C12641.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002966
Deuteranopia (green-blind)
#002A62
Tritanopia (blue-blind)
#33283B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3c1264;
/* rgb */ color: rgb(60, 18, 100);
/* oklch */ color: oklch(30.2% 0.133 302.0);
Tailwind
colors: {
  custom: {
    50: '#765591',
    500: '#3c1264',
    950: '#000000',
  },
}
SCSS
$custom: #3c1264;
$custom-light: #765591;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1264",
  "rgb": {
    "r": 60,
    "g": 18,
    "b": 100
  },
  "hsl": {
    "h": 270.732,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.30163,
    "c": 0.13331,
    "h": 302
  },
  "luminance": 0.02313
}

Semantic roles & 50–950 ramp

primary
#3C1264
secondary
#689C36
accent
#EC3B92
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3C1264

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

Preview Lab → · Contrast checker → · Palette generator →

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