#3C186F#3C186F

#3C186F is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.9% C 0.139 H 296.4°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#3C186F
RGBrgb(60, 24, 111)
HSLhsl(265, 64%, 26%)
HSVhsv(265, 78%, 44%)
CMYKcmyk(45.9%, 78.4%, 0%, 56.5%)
CIE-LABlab(19.06, 36.95, -43.53)
CIE-LCHlch(19.06, 57.10, 310.32°)
OKLaboklab(31.89% 0.0618 -0.1246)
OKLCHoklch(31.89% 0.139 296.4)
XYZxyz(5.0586, 2.7615, 15.3023)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C186F #4B6F18
analogous
#18206F #3C186F #68186F
triadic
#3C186F #6F3C18 #186F3C
tetradic
#3C186F #6F1820 #4B6F18 #186F68
square
#3C186F #6F1820 #4B6F18 #186F68
split-complementary
#3C186F #6F6818 #206F18
monochromatic
#0E0519 #210D3D #3C186F #5723A1 #732FD2

Accessibility & contrast

On white

13.53
#3C186F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#3C186F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C186F
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C186F#FFFFFF#000000##FFFFFF
##3C186F1.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F71
Deuteranopia (green-blind)
#002D6D
Tritanopia (blue-blind)
#2E2F42
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3c186f;
/* rgb */ color: rgb(60, 24, 111);
/* oklch */ color: oklch(31.9% 0.139 296.4);
Tailwind
colors: {
  custom: {
    50: '#775999',
    500: '#3c186f',
    950: '#000000',
  },
}
SCSS
$custom: #3c186f;
$custom-light: #775999;
$custom-dark: #000000;
JSON
{
  "hex": "#3c186f",
  "rgb": {
    "r": 60,
    "g": 24,
    "b": 111
  },
  "hsl": {
    "h": 264.828,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.31888,
    "c": 0.13913,
    "h": 296.4
  },
  "luminance": 0.02762
}

Semantic roles & 50–950 ramp

primary
#3C186F
secondary
#7AA53E
accent
#E740A2
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3C186F

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

Preview Lab → · Contrast checker → · Palette generator →

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