#3C1884#3C1884

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

Color values

HEX#3C1884
RGBrgb(60, 24, 132)
HSLhsl(260, 69%, 31%)
HSVhsv(260, 82%, 52%)
CMYKcmyk(54.5%, 81.8%, 0%, 48.2%)
CIE-LABlab(21.13, 42.88, -53.56)
CIE-LCHlch(21.13, 68.61, 308.68°)
OKLaboklab(33.96% 0.0554 -0.154)
OKLCHoklch(33.96% 0.164 289.8)
XYZxyz(6.3538, 3.2796, 22.1236)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1884 #608418
analogous
#182A84 #3C1884 #721884
triadic
#3C1884 #843C18 #18843C
tetradic
#3C1884 #84182A #608418 #188472
square
#3C1884 #84182A #608418 #188472
split-complementary
#3C1884 #847218 #2A8418
monochromatic
#0D051C #240F50 #3C1884 #5421B8 #703BDB

Accessibility & contrast

On white

12.68
#3C1884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C1884
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1884#FFFFFF#000000##FFFFFF
##3C18841.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003587
Deuteranopia (green-blind)
#003082
Tritanopia (blue-blind)
#20384E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #3c1884;
/* rgb */ color: rgb(60, 24, 132);
/* oklch */ color: oklch(34.0% 0.164 289.8);
Tailwind
colors: {
  custom: {
    50: '#7b5aa9',
    500: '#3c1884',
    950: '#000000',
  },
}
SCSS
$custom: #3c1884;
$custom-light: #7b5aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1884",
  "rgb": {
    "r": 60,
    "g": 24,
    "b": 132
  },
  "hsl": {
    "h": 260,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.33963,
    "c": 0.16367,
    "h": 289.8
  },
  "luminance": 0.0328
}

Semantic roles & 50–950 ramp

primary
#3C1884
secondary
#90B840
accent
#EC3CB1
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3C1884

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

Preview Lab → · Contrast checker → · Palette generator →

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