#3C156A#3C156A

#3C156A is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.1% C 0.137 H 298.9°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#3C156A
RGBrgb(60, 21, 106)
HSLhsl(268, 67%, 25%)
HSVhsv(268, 80%, 42%)
CMYKcmyk(43.4%, 80.2%, 0%, 58.4%)
CIE-LABlab(18.09, 37.02, -41.87)
CIE-LCHlch(18.09, 55.89, 311.48°)
OKLaboklab(31.06% 0.0661 -0.1197)
OKLCHoklch(31.06% 0.137 298.9)
XYZxyz(4.7325, 2.5375, 13.8733)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C156A #436A15
analogous
#15196A #3C156A #66156A
triadic
#3C156A #6A3C15 #156A3C
tetradic
#3C156A #6A1519 #436A15 #156A66
square
#3C156A #6A1519 #436A15 #156A66
split-complementary
#3C156A #6A6615 #196A15
monochromatic
#0E051A #1F0B37 #3C156A #591F9D #7629D0

Accessibility & contrast

On white

13.93
#3C156A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C156A
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C156A#FFFFFF#000000##FFFFFF
##3C156A1.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6C
Deuteranopia (green-blind)
#002B68
Tritanopia (blue-blind)
#312C3F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3c156a;
/* rgb */ color: rgb(60, 21, 106);
/* oklch */ color: oklch(31.1% 0.137 298.9);
Tailwind
colors: {
  custom: {
    50: '#775795',
    500: '#3c156a',
    950: '#000000',
  },
}
SCSS
$custom: #3c156a;
$custom-light: #775795;
$custom-dark: #000000;
JSON
{
  "hex": "#3c156a",
  "rgb": {
    "r": 60,
    "g": 21,
    "b": 106
  },
  "hsl": {
    "h": 267.529,
    "s": 66.929,
    "l": 24.902
  },
  "oklch": {
    "l": 0.3106,
    "c": 0.13675,
    "h": 298.9
  },
  "luminance": 0.02538
}

Semantic roles & 50–950 ramp

primary
#3C156A
secondary
#72A13A
accent
#EA3E9B
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3C156A

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

Preview Lab → · Contrast checker → · Palette generator →

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