#3C146F#3C146F

#3C146F is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.4% C 0.144 H 297.1°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#3C146F
RGBrgb(60, 20, 111)
HSLhsl(266, 69%, 26%)
HSVhsv(266, 82%, 44%)
CMYKcmyk(45.9%, 82%, 0%, 56.5%)
CIE-LABlab(18.40, 38.84, -44.61)
CIE-LCHlch(18.40, 59.15, 311.04°)
OKLaboklab(31.43% 0.0654 -0.1278)
OKLCHoklch(31.43% 0.144 297.1)
XYZxyz(4.9821, 2.6086, 15.2769)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C146F #476F14
analogous
#14196F #3C146F #69146F
triadic
#3C146F #6F3C14 #146F3C
tetradic
#3C146F #6F1419 #476F14 #146F69
square
#3C146F #6F1419 #476F14 #146F69
split-complementary
#3C146F #6F6914 #196F14
monochromatic
#0E051A #200B3B #3C146F #581DA3 #7427D7

Accessibility & contrast

On white

13.80
#3C146F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#3C146F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C146F
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C146F#FFFFFF#000000##FFFFFF
##3C146F1.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D72
Deuteranopia (green-blind)
#002C6D
Tritanopia (blue-blind)
#2E2D41
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3c146f;
/* rgb */ color: rgb(60, 20, 111);
/* oklch */ color: oklch(31.4% 0.144 297.1);
Tailwind
colors: {
  custom: {
    50: '#785799',
    500: '#3c146f',
    950: '#000000',
  },
}
SCSS
$custom: #3c146f;
$custom-light: #785799;
$custom-dark: #000000;
JSON
{
  "hex": "#3c146f",
  "rgb": {
    "r": 60,
    "g": 20,
    "b": 111
  },
  "hsl": {
    "h": 266.374,
    "s": 69.466,
    "l": 25.686
  },
  "oklch": {
    "l": 0.31426,
    "c": 0.14356,
    "h": 297.1
  },
  "luminance": 0.02609
}

Semantic roles & 50–950 ramp

primary
#3C146F
secondary
#76A639
accent
#EC3C9F
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #3C146F

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

Preview Lab → · Contrast checker → · Palette generator →

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