#3C146A#3C146A

#3C146A is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.9% C 0.138 H 299.1°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#3C146A
RGBrgb(60, 20, 106)
HSLhsl(268, 68%, 25%)
HSVhsv(268, 81%, 42%)
CMYKcmyk(43.4%, 81.1%, 0%, 58.4%)
CIE-LABlab(17.93, 37.48, -42.13)
CIE-LCHlch(17.93, 56.39, 311.66°)
OKLaboklab(30.95% 0.067 -0.1205)
OKLCHoklch(30.95% 0.138 299.1)
XYZxyz(4.7145, 2.5015, 13.8673)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C146A #426A14
analogous
#14176A #3C146A #67146A
triadic
#3C146A #6A3C14 #146A3C
tetradic
#3C146A #6A1417 #426A14 #146A67
square
#3C146A #6A1417 #426A14 #146A67
split-complementary
#3C146A #6A6714 #176A14
monochromatic
#0F051A #1F0A37 #3C146A #591E9D #7627D1

Accessibility & contrast

On white

14.00
#3C146A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C146A
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C146A#FFFFFF#000000##FFFFFF
##3C146A1.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c146a;
/* rgb */ color: rgb(60, 20, 106);
/* oklch */ color: oklch(30.9% 0.138 299.1);
Tailwind
colors: {
  custom: {
    50: '#775795',
    500: '#3c146a',
    950: '#000000',
  },
}
SCSS
$custom: #3c146a;
$custom-light: #775795;
$custom-dark: #000000;
JSON
{
  "hex": "#3c146a",
  "rgb": {
    "r": 60,
    "g": 20,
    "b": 106
  },
  "hsl": {
    "h": 267.907,
    "s": 68.254,
    "l": 24.706
  },
  "oklch": {
    "l": 0.30946,
    "c": 0.13787,
    "h": 299.1
  },
  "luminance": 0.02502
}

Semantic roles & 50–950 ramp

primary
#3C146A
secondary
#71A139
accent
#EB3D9A
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3C146A

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

Preview Lab → · Contrast checker → · Palette generator →

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