#3C146D#3C146D

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

Color values

HEX#3C146D
RGBrgb(60, 20, 109)
HSLhsl(267, 69%, 25%)
HSVhsv(267, 82%, 43%)
CMYKcmyk(45%, 81.7%, 0%, 57.3%)
CIE-LABlab(18.21, 38.29, -43.63)
CIE-LCHlch(18.21, 58.05, 311.28°)
OKLaboklab(31.23% 0.0661 -0.1249)
OKLCHoklch(31.23% 0.141 297.9)
XYZxyz(4.8732, 2.5650, 14.7034)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C146D #456D14
analogous
#14196D #3C146D #68146D
triadic
#3C146D #6D3C14 #146D3C
tetradic
#3C146D #6D1419 #456D14 #146D68
square
#3C146D #6D1419 #456D14 #146D68
split-complementary
#3C146D #6D6814 #196D14
monochromatic
#0E051A #200B39 #3C146D #581DA1 #7527D4

Accessibility & contrast

On white

13.88
#3C146D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C146D
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C146D#FFFFFF#000000##FFFFFF
##3C146D1.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6F
Deuteranopia (green-blind)
#002B6B
Tritanopia (blue-blind)
#2F2C40
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3c146d;
/* rgb */ color: rgb(60, 20, 109);
/* oklch */ color: oklch(31.2% 0.141 297.9);
Tailwind
colors: {
  custom: {
    50: '#775798',
    500: '#3c146d',
    950: '#000000',
  },
}
SCSS
$custom: #3c146d;
$custom-light: #775798;
$custom-dark: #000000;
JSON
{
  "hex": "#3c146d",
  "rgb": {
    "r": 60,
    "g": 20,
    "b": 109
  },
  "hsl": {
    "h": 266.966,
    "s": 68.992,
    "l": 25.294
  },
  "oklch": {
    "l": 0.31233,
    "c": 0.14129,
    "h": 297.9
  },
  "luminance": 0.02565
}

Semantic roles & 50–950 ramp

primary
#3C146D
secondary
#74A439
accent
#EC3C9D
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #3C146D

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

Preview Lab → · Contrast checker → · Palette generator →

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