#3C169E#3C169E

#3C169E is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.6% C 0.195 H 284.0°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#3C169E
RGBrgb(60, 22, 158)
HSLhsl(257, 76%, 35%)
HSVhsv(257, 86%, 62%)
CMYKcmyk(62%, 86.1%, 0%, 38%)
CIE-LABlab(23.68, 50.97, -65.49)
CIE-LCHlch(23.68, 82.99, 307.90°)
OKLaboklab(36.56% 0.047 -0.1888)
OKLCHoklch(36.56% 0.195 284)
XYZxyz(8.3200, 4.0025, 32.6753)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C169E #789E16
analogous
#16349E #3C169E #80169E
triadic
#3C169E #9E3C16 #169E3C
tetradic
#3C169E #9E1634 #789E16 #169E80
square
#3C169E #9E1634 #789E16 #169E80
split-complementary
#3C169E #9E8016 #349E16
monochromatic
#130733 #280F68 #3C169E #501DD4 #7549E6

Accessibility & contrast

On white

11.66
#3C169E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#3C169E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C169E
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C169E#FFFFFF#000000##FFFFFF
##3C169E1.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA2
Deuteranopia (green-blind)
#00349C
Tritanopia (blue-blind)
#00425D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3c169e;
/* rgb */ color: rgb(60, 22, 158);
/* oklch */ color: oklch(36.6% 0.195 284.0);
Tailwind
colors: {
  custom: {
    50: '#805bbc',
    500: '#3c169e',
    950: '#000000',
  },
}
SCSS
$custom: #3c169e;
$custom-light: #805bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#3c169e",
  "rgb": {
    "r": 60,
    "g": 22,
    "b": 158
  },
  "hsl": {
    "h": 256.765,
    "s": 75.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36558,
    "c": 0.19456,
    "h": 284
  },
  "luminance": 0.04003
}

Semantic roles & 50–950 ramp

primary
#3C169E
secondary
#A4C749
accent
#F236BD
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #3C169E

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

Preview Lab → · Contrast checker → · Palette generator →

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