#3C1777#3C1777

#3C1777 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.5% C 0.150 H 293.8°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#3C1777
RGBrgb(60, 23, 119)
HSLhsl(263, 68%, 28%)
HSVhsv(263, 81%, 47%)
CMYKcmyk(49.6%, 80.7%, 0%, 53.3%)
CIE-LABlab(19.66, 39.67, -47.71)
CIE-LCHlch(19.66, 62.05, 309.74°)
OKLaboklab(32.54% 0.0604 -0.1369)
OKLCHoklch(32.54% 0.15 293.8)
XYZxyz(5.4987, 2.9052, 17.7202)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1777 #527717
analogous
#172277 #3C1777 #6C1777
triadic
#3C1777 #773C17 #17773C
tetradic
#3C1777 #771722 #527717 #17776C
square
#3C1777 #771722 #527717 #17776C
split-complementary
#3C1777 #776C17 #227717
monochromatic
#0D051A #220D44 #3C1777 #5621AA #7131D7

Accessibility & contrast

On white

13.28
#3C1777 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#3C1777 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1777
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1777#FFFFFF#000000##FFFFFF
##3C17771.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317A
Deuteranopia (green-blind)
#002E75
Tritanopia (blue-blind)
#2A3247
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #3c1777;
/* rgb */ color: rgb(60, 23, 119);
/* oklch */ color: oklch(32.5% 0.150 293.8);
Tailwind
colors: {
  custom: {
    50: '#79599f',
    500: '#3c1777',
    950: '#000000',
  },
}
SCSS
$custom: #3c1777;
$custom-light: #79599f;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1777",
  "rgb": {
    "r": 60,
    "g": 23,
    "b": 119
  },
  "hsl": {
    "h": 263.125,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32542,
    "c": 0.14962,
    "h": 293.8
  },
  "luminance": 0.02905
}

Semantic roles & 50–950 ramp

primary
#3C1777
secondary
#82AC3E
accent
#EA3DA8
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040F
muted
#7C797E

Preview Lab

Preview with #3C1777

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

Preview Lab → · Contrast checker → · Palette generator →

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