#3C189F#3C189F

#3C189F is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.8% C 0.194 H 283.6°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#3C189F
RGBrgb(60, 24, 159)
HSLhsl(256, 74%, 36%)
HSVhsv(256, 85%, 62%)
CMYKcmyk(62.3%, 84.9%, 0%, 37.6%)
CIE-LABlab(24.05, 50.48, -65.48)
CIE-LCHlch(24.05, 82.68, 307.63°)
OKLaboklab(36.85% 0.0457 -0.1888)
OKLCHoklch(36.85% 0.194 283.6)
XYZxyz(8.4462, 4.1165, 33.1437)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C189F #7B9F18
analogous
#18379F #3C189F #7F189F
triadic
#3C189F #9F3C18 #189F3C
tetradic
#3C189F #9F1837 #7B9F18 #189F7F
square
#3C189F #9F1837 #7B9F18 #189F7F
split-complementary
#3C189F #9F7F18 #379F18
monochromatic
#140835 #28106A #3C189F #5020D4 #754DE4

Accessibility & contrast

On white

11.52
#3C189F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#3C189F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C189F
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C189F#FFFFFF#000000##FFFFFF
##3C189F1.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA3
Deuteranopia (green-blind)
#00359D
Tritanopia (blue-blind)
#00435E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3c189f;
/* rgb */ color: rgb(60, 24, 159);
/* oklch */ color: oklch(36.8% 0.194 283.6);
Tailwind
colors: {
  custom: {
    50: '#805cbd',
    500: '#3c189f',
    950: '#000000',
  },
}
SCSS
$custom: #3c189f;
$custom-light: #805cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#3c189f",
  "rgb": {
    "r": 60,
    "g": 24,
    "b": 159
  },
  "hsl": {
    "h": 256,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36846,
    "c": 0.19425,
    "h": 283.6
  },
  "luminance": 0.04117
}

Semantic roles & 50–950 ramp

primary
#3C189F
secondary
#A6C64D
accent
#F037BF
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #3C189F

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

Preview Lab → · Contrast checker → · Palette generator →

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