#3C1364#3C1364

#3C1364 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.3% C 0.132 H 301.8°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#3C1364
RGBrgb(60, 19, 100)
HSLhsl(270, 68%, 23%)
HSVhsv(270, 81%, 39%)
CMYKcmyk(40%, 81%, 0%, 60.8%)
CIE-LABlab(17.21, 36.33, -39.36)
CIE-LCHlch(17.21, 53.56, 312.71°)
OKLaboklab(30.27% 0.0696 -0.1123)
OKLCHoklch(30.27% 0.132 301.8)
XYZxyz(4.3960, 2.3465, 12.2754)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1364 #3B6413
analogous
#131364 #3C1364 #641363
triadic
#3C1364 #643C13 #13643C
tetradic
#3C1364 #641313 #3B6413 #136364
square
#3C1364 #641313 #3B6413 #136364
split-complementary
#3C1364 #636413 #136413
monochromatic
#0F051A #1D0931 #3C1364 #5B1D97 #7A27CB

Accessibility & contrast

On white

14.29
#3C1364 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#3C1364 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1364
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1364#FFFFFF#000000##FFFFFF
##3C13641.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c1364;
/* rgb */ color: rgb(60, 19, 100);
/* oklch */ color: oklch(30.3% 0.132 301.8);
Tailwind
colors: {
  custom: {
    50: '#765691',
    500: '#3c1364',
    950: '#000000',
  },
}
SCSS
$custom: #3c1364;
$custom-light: #765691;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1364",
  "rgb": {
    "r": 60,
    "g": 19,
    "b": 100
  },
  "hsl": {
    "h": 270.37,
    "s": 68.067,
    "l": 23.333
  },
  "oklch": {
    "l": 0.30273,
    "c": 0.13217,
    "h": 301.8
  },
  "luminance": 0.02347
}

Semantic roles & 50–950 ramp

primary
#3C1364
secondary
#699C37
accent
#EB3D93
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3C1364

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

Preview Lab → · Contrast checker → · Palette generator →

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