#3C1362#3C1362

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

Color values

HEX#3C1362
RGBrgb(60, 19, 98)
HSLhsl(271, 68%, 23%)
HSVhsv(271, 81%, 38%)
CMYKcmyk(38.8%, 80.6%, 0%, 61.6%)
CIE-LABlab(17.03, 35.80, -38.33)
CIE-LCHlch(17.03, 52.45, 313.05°)
OKLaboklab(30.09% 0.0702 -0.1093)
OKLCHoklch(30.09% 0.13 302.7)
XYZxyz(4.3004, 2.3082, 11.7719)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1362 #396213
analogous
#141362 #3C1362 #621360
triadic
#3C1362 #623C13 #13623C
tetradic
#3C1362 #621413 #396213 #136062
square
#3C1362 #621413 #396213 #136062
split-complementary
#3C1362 #606213 #136214
monochromatic
#10051A #1D092F #3C1362 #5B1D95 #7B27C9

Accessibility & contrast

On white

14.37
#3C1362 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C1362
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1362#FFFFFF#000000##FFFFFF
##3C13621.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002964
Deuteranopia (green-blind)
#002A60
Tritanopia (blue-blind)
#34273A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3c1362;
/* rgb */ color: rgb(60, 19, 98);
/* oklch */ color: oklch(30.1% 0.130 302.7);
Tailwind
colors: {
  custom: {
    50: '#76568f',
    500: '#3c1362',
    950: '#000000',
  },
}
SCSS
$custom: #3c1362;
$custom-light: #76568f;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1362",
  "rgb": {
    "r": 60,
    "g": 19,
    "b": 98
  },
  "hsl": {
    "h": 271.139,
    "s": 67.521,
    "l": 22.941
  },
  "oklch": {
    "l": 0.30089,
    "c": 0.12991,
    "h": 302.7
  },
  "luminance": 0.02308
}

Semantic roles & 50–950 ramp

primary
#3C1362
secondary
#679A37
accent
#EA3D91
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3C1362

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

Preview Lab → · Contrast checker → · Palette generator →

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