#3C2185#3C2185

#3C2185 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.2% C 0.155 H 288.0°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#3C2185
RGBrgb(60, 33, 133)
HSLhsl(256, 60%, 33%)
HSVhsv(256, 75%, 52%)
CMYKcmyk(54.9%, 75.2%, 0%, 47.8%)
CIE-LABlab(22.80, 38.69, -51.45)
CIE-LCHlch(22.80, 64.38, 306.94°)
OKLaboklab(35.16% 0.0479 -0.1479)
OKLCHoklch(35.16% 0.155 288)
XYZxyz(6.6397, 3.7415, 22.5581)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2185 #6A8521
analogous
#213885 #3C2185 #6E2185
triadic
#3C2185 #853C21 #21853C
tetradic
#3C2185 #852138 #6A8521 #21856E
square
#3C2185 #852138 #6A8521 #21856E
split-complementary
#3C2185 #856E21 #388521
monochromatic
#100923 #261554 #3C2185 #522DB6 #714DD3

Accessibility & contrast

On white

12.01
#3C2185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#3C2185 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C2185
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2185#FFFFFF#000000##FFFFFF
##3C21851.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003988
Deuteranopia (green-blind)
#003483
Tritanopia (blue-blind)
#1F3C51
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3c2185;
/* rgb */ color: rgb(60, 33, 133);
/* oklch */ color: oklch(35.2% 0.155 288.0);
Tailwind
colors: {
  custom: {
    50: '#7a5fa9',
    500: '#3c2185',
    950: '#000000',
  },
}
SCSS
$custom: #3c2185;
$custom-light: #7a5fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2185",
  "rgb": {
    "r": 60,
    "g": 33,
    "b": 133
  },
  "hsl": {
    "h": 256.2,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35161,
    "c": 0.15549,
    "h": 288
  },
  "luminance": 0.03742
}

Semantic roles & 50–950 ramp

primary
#3C2185
secondary
#99B64C
accent
#E344B8
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3C2185

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

Preview Lab → · Contrast checker → · Palette generator →

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