#3C156B#3C156B

#3C156B is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.2% C 0.138 H 298.5°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#3C156B
RGBrgb(60, 21, 107)
HSLhsl(267, 67%, 25%)
HSVhsv(267, 80%, 42%)
CMYKcmyk(43.9%, 80.4%, 0%, 58%)
CIE-LABlab(18.18, 37.29, -42.37)
CIE-LCHlch(18.18, 56.44, 311.35°)
OKLaboklab(31.15% 0.0658 -0.1212)
OKLCHoklch(31.15% 0.138 298.5)
XYZxyz(4.7848, 2.5585, 14.1488)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C156B #446B15
analogous
#15196B #3C156B #67156B
triadic
#3C156B #6B3C15 #156B3C
tetradic
#3C156B #6B1519 #446B15 #156B67
square
#3C156B #6B1519 #446B15 #156B67
split-complementary
#3C156B #6B6715 #196B15
monochromatic
#0E051A #1F0B38 #3C156B #591F9E #7529D1

Accessibility & contrast

On white

13.89
#3C156B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#3C156B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C156B
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C156B#FFFFFF#000000##FFFFFF
##3C156B1.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6D
Deuteranopia (green-blind)
#002C69
Tritanopia (blue-blind)
#302C3F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3c156b;
/* rgb */ color: rgb(60, 21, 107);
/* oklch */ color: oklch(31.2% 0.138 298.5);
Tailwind
colors: {
  custom: {
    50: '#775796',
    500: '#3c156b',
    950: '#000000',
  },
}
SCSS
$custom: #3c156b;
$custom-light: #775796;
$custom-dark: #000000;
JSON
{
  "hex": "#3c156b",
  "rgb": {
    "r": 60,
    "g": 21,
    "b": 107
  },
  "hsl": {
    "h": 267.209,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.31154,
    "c": 0.1379,
    "h": 298.5
  },
  "luminance": 0.02559
}

Semantic roles & 50–950 ramp

primary
#3C156B
secondary
#73A23A
accent
#EA3E9C
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3C156B

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

Preview Lab → · Contrast checker → · Palette generator →

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