#3C2194#3C2194

#3C2194 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.174 H 284.7°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#3C2194
RGBrgb(60, 33, 148)
HSLhsl(254, 64%, 35%)
HSVhsv(254, 78%, 58%)
CMYKcmyk(59.5%, 77.7%, 0%, 42%)
CIE-LABlab(24.28, 43.22, -58.36)
CIE-LCHlch(24.28, 72.62, 306.52°)
OKLaboklab(36.65% 0.044 -0.1681)
OKLCHoklch(36.65% 0.174 284.7)
XYZxyz(7.7510, 4.1860, 28.4108)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2194 #799421
analogous
#213F94 #3C2194 #752194
triadic
#3C2194 #943C21 #21943C
tetradic
#3C2194 #94213F #799421 #219475
square
#3C2194 #94213F #799421 #219475
split-complementary
#3C2194 #947521 #3F9421
monochromatic
#130B30 #281662 #3C2194 #502CC6 #7556D9

Accessibility & contrast

On white

11.43
#3C2194 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#3C2194 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C2194
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2194#FFFFFF#000000##FFFFFF
##3C21941.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D97
Deuteranopia (green-blind)
#003692
Tritanopia (blue-blind)
#094259
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3c2194;
/* rgb */ color: rgb(60, 33, 148);
/* oklch */ color: oklch(36.7% 0.174 284.7);
Tailwind
colors: {
  custom: {
    50: '#7d60b5',
    500: '#3c2194',
    950: '#000000',
  },
}
SCSS
$custom: #3c2194;
$custom-light: #7d60b5;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2194",
  "rgb": {
    "r": 60,
    "g": 33,
    "b": 148
  },
  "hsl": {
    "h": 254.087,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36651,
    "c": 0.17379,
    "h": 284.7
  },
  "luminance": 0.04186
}

Semantic roles & 50–950 ramp

primary
#3C2194
secondary
#A4BD54
accent
#E741C0
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3C2194

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

Preview Lab → · Contrast checker → · Palette generator →

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