#3C1983#3C1983

#3C1983 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.0% C 0.162 H 289.9°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#3C1983
RGBrgb(60, 25, 131)
HSLhsl(260, 68%, 31%)
HSVhsv(260, 81%, 51%)
CMYKcmyk(54.2%, 80.9%, 0%, 48.6%)
CIE-LABlab(21.19, 42.14, -52.84)
CIE-LCHlch(21.19, 67.58, 308.57°)
OKLaboklab(33.97% 0.055 -0.1519)
OKLCHoklch(33.97% 0.162 289.9)
XYZxyz(6.3067, 3.2943, 21.7719)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1983 #608319
analogous
#192B83 #3C1983 #711983
triadic
#3C1983 #833C19 #19833C
tetradic
#3C1983 #83192B #608319 #198371
square
#3C1983 #83192B #608319 #198371
split-complementary
#3C1983 #837119 #2B8319
monochromatic
#0D051C #240F50 #3C1983 #5423B6 #703DDA

Accessibility & contrast

On white

12.66
#3C1983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#3C1983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1983
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1983#FFFFFF#000000##FFFFFF
##3C19831.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003586
Deuteranopia (green-blind)
#003081
Tritanopia (blue-blind)
#21384E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #3c1983;
/* rgb */ color: rgb(60, 25, 131);
/* oklch */ color: oklch(34.0% 0.162 289.9);
Tailwind
colors: {
  custom: {
    50: '#7a5ba8',
    500: '#3c1983',
    950: '#000000',
  },
}
SCSS
$custom: #3c1983;
$custom-light: #7a5ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1983",
  "rgb": {
    "r": 60,
    "g": 25,
    "b": 131
  },
  "hsl": {
    "h": 259.811,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.33971,
    "c": 0.16156,
    "h": 289.9
  },
  "luminance": 0.03295
}

Semantic roles & 50–950 ramp

primary
#3C1983
secondary
#90B741
accent
#EB3DB1
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3C1983

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

Preview Lab → · Contrast checker → · Palette generator →

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