#3C1367#3C1367

#3C1367 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.6% C 0.136 H 300.5°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#3C1367
RGBrgb(60, 19, 103)
HSLhsl(269, 69%, 24%)
HSVhsv(269, 82%, 40%)
CMYKcmyk(41.7%, 81.6%, 0%, 59.6%)
CIE-LABlab(17.49, 37.13, -40.88)
CIE-LCHlch(17.49, 55.23, 312.25°)
OKLaboklab(30.55% 0.0688 -0.1168)
OKLCHoklch(30.55% 0.136 300.5)
XYZxyz(4.5439, 2.4056, 13.0543)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1367 #3E6713
analogous
#131467 #3C1367 #661367
triadic
#3C1367 #673C13 #13673C
tetradic
#3C1367 #671314 #3E6713 #136766
square
#3C1367 #671314 #3E6713 #136766
split-complementary
#3C1367 #676613 #146713
monochromatic
#0F051A #1E0933 #3C1367 #5A1D9B #7826CE

Accessibility & contrast

On white

14.18
#3C1367 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C1367
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1367#FFFFFF#000000##FFFFFF
##3C13671.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B69
Deuteranopia (green-blind)
#002A65
Tritanopia (blue-blind)
#32293D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3c1367;
/* rgb */ color: rgb(60, 19, 103);
/* oklch */ color: oklch(30.6% 0.136 300.5);
Tailwind
colors: {
  custom: {
    50: '#775693',
    500: '#3c1367',
    950: '#000000',
  },
}
SCSS
$custom: #3c1367;
$custom-light: #775693;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1367",
  "rgb": {
    "r": 60,
    "g": 19,
    "b": 103
  },
  "hsl": {
    "h": 269.286,
    "s": 68.852,
    "l": 23.922
  },
  "oklch": {
    "l": 0.30552,
    "c": 0.13556,
    "h": 300.5
  },
  "luminance": 0.02406
}

Semantic roles & 50–950 ramp

primary
#3C1367
secondary
#6C9E37
accent
#EC3C96
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3C1367

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

Preview Lab → · Contrast checker → · Palette generator →

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