#3C1683#3C1683

#3C1683 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.7% C 0.164 H 290.3°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#3C1683
RGBrgb(60, 22, 131)
HSLhsl(261, 71%, 30%)
HSVhsv(261, 83%, 51%)
CMYKcmyk(54.2%, 83.2%, 0%, 48.6%)
CIE-LABlab(20.72, 43.48, -53.60)
CIE-LCHlch(20.72, 69.02, 309.05°)
OKLaboklab(33.65% 0.0571 -0.1541)
OKLCHoklch(33.65% 0.164 290.3)
XYZxyz(6.2459, 3.1729, 21.7517)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1683 #5D8316
analogous
#162783 #3C1683 #721683
triadic
#3C1683 #833C16 #16833C
tetradic
#3C1683 #831627 #5D8316 #168372
square
#3C1683 #831627 #5D8316 #168372
split-complementary
#3C1683 #837216 #278316
monochromatic
#0C041A #240D4F #3C1683 #541FB7 #7036DD

Accessibility & contrast

On white

12.85
#3C1683 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#3C1683 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1683
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1683#FFFFFF#000000##FFFFFF
##3C16831.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003486
Deuteranopia (green-blind)
#002F81
Tritanopia (blue-blind)
#21364D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #3c1683;
/* rgb */ color: rgb(60, 22, 131);
/* oklch */ color: oklch(33.7% 0.164 290.3);
Tailwind
colors: {
  custom: {
    50: '#7b59a8',
    500: '#3c1683',
    950: '#000000',
  },
}
SCSS
$custom: #3c1683;
$custom-light: #7b59a8;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1683",
  "rgb": {
    "r": 60,
    "g": 22,
    "b": 131
  },
  "hsl": {
    "h": 260.917,
    "s": 71.242,
    "l": 30
  },
  "oklch": {
    "l": 0.3365,
    "c": 0.16435,
    "h": 290.3
  },
  "luminance": 0.03173
}

Semantic roles & 50–950 ramp

primary
#3C1683
secondary
#8DB73D
accent
#EE3AAF
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3C1683

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

Preview Lab → · Contrast checker → · Palette generator →

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