#3C2177#3C2177

#3C2177 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 33.8% C 0.138 H 291.7°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#3C2177
RGBrgb(60, 33, 119)
HSLhsl(259, 57%, 30%)
HSVhsv(259, 72%, 47%)
CMYKcmyk(49.6%, 72.3%, 0%, 53.3%)
CIE-LABlab(21.51, 34.46, -44.69)
CIE-LCHlch(21.51, 56.43, 307.64°)
OKLaboklab(33.85% 0.051 -0.1281)
OKLCHoklch(33.85% 0.138 291.7)
XYZxyz(5.7362, 3.3801, 17.7994)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2177 #5C7721
analogous
#213177 #3C2177 #672177
triadic
#3C2177 #773C21 #21773C
tetradic
#3C2177 #772131 #5C7721 #217767
square
#3C2177 #772131 #5C7721 #217767
split-complementary
#3C2177 #776721 #317721
monochromatic
#0C0718 #241447 #3C2177 #542EA7 #7047CC

Accessibility & contrast

On white

12.53
#3C2177 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#3C2177 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C2177
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2177#FFFFFF#000000##FFFFFF
##3C21771.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357A
Deuteranopia (green-blind)
#003275
Tritanopia (blue-blind)
#293749
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #3c2177;
/* rgb */ color: rgb(60, 33, 119);
/* oklch */ color: oklch(33.8% 0.138 291.7);
Tailwind
colors: {
  custom: {
    50: '#785f9f',
    500: '#3c2177',
    950: '#000000',
  },
}
SCSS
$custom: #3c2177;
$custom-light: #785f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2177",
  "rgb": {
    "r": 60,
    "g": 33,
    "b": 119
  },
  "hsl": {
    "h": 258.837,
    "s": 56.579,
    "l": 29.804
  },
  "oklch": {
    "l": 0.33846,
    "c": 0.13787,
    "h": 291.7
  },
  "luminance": 0.0338
}

Semantic roles & 50–950 ramp

primary
#3C2177
secondary
#8CAA4A
accent
#E048B0
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040F
muted
#7B797E

Preview Lab

Preview with #3C2177

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

Preview Lab → · Contrast checker → · Palette generator →

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