#3C146B#3C146B

#3C146B is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.0% C 0.139 H 298.7°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#3C146B
RGBrgb(60, 20, 107)
HSLhsl(268, 69%, 25%)
HSVhsv(268, 81%, 42%)
CMYKcmyk(43.9%, 81.3%, 0%, 58%)
CIE-LABlab(18.02, 37.75, -42.63)
CIE-LCHlch(18.02, 56.95, 311.53°)
OKLaboklab(31.04% 0.0667 -0.122)
OKLCHoklch(31.04% 0.139 298.7)
XYZxyz(4.7668, 2.5224, 14.1428)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C146B #436B14
analogous
#14186B #3C146B #67146B
triadic
#3C146B #6B3C14 #146B3C
tetradic
#3C146B #6B1418 #436B14 #146B67
square
#3C146B #6B1418 #436B14 #146B67
split-complementary
#3C146B #6B6714 #186B14
monochromatic
#0E051A #1F0A37 #3C146B #591E9F #7627D2

Accessibility & contrast

On white

13.96
#3C146B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#3C146B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C146B
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C146B#FFFFFF#000000##FFFFFF
##3C146B1.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c146b;
/* rgb */ color: rgb(60, 20, 107);
/* oklch */ color: oklch(31.0% 0.139 298.7);
Tailwind
colors: {
  custom: {
    50: '#775796',
    500: '#3c146b',
    950: '#000000',
  },
}
SCSS
$custom: #3c146b;
$custom-light: #775796;
$custom-dark: #000000;
JSON
{
  "hex": "#3c146b",
  "rgb": {
    "r": 60,
    "g": 20,
    "b": 107
  },
  "hsl": {
    "h": 267.586,
    "s": 68.504,
    "l": 24.902
  },
  "oklch": {
    "l": 0.31041,
    "c": 0.139,
    "h": 298.7
  },
  "luminance": 0.02523
}

Semantic roles & 50–950 ramp

primary
#3C146B
secondary
#72A239
accent
#EB3C9B
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3C146B

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

Preview Lab → · Contrast checker → · Palette generator →

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