#3C147D#3C147D

#3C147D is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.8% C 0.159 H 292.4°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#3C147D
RGBrgb(60, 20, 125)
HSLhsl(263, 72%, 28%)
HSVhsv(263, 84%, 49%)
CMYKcmyk(52%, 84%, 0%, 51%)
CIE-LABlab(19.81, 42.67, -51.30)
CIE-LCHlch(19.81, 66.73, 309.75°)
OKLaboklab(32.83% 0.0607 -0.1474)
OKLCHoklch(32.83% 0.159 292.4)
XYZxyz(5.8143, 2.9414, 19.6595)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C147D #557D14
analogous
#14207D #3C147D #70147D
triadic
#3C147D #7D3C14 #147D3C
tetradic
#3C147D #7D1420 #557D14 #147D70
square
#3C147D #7D1420 #557D14 #147D70
split-complementary
#3C147D #7D7014 #207D14
monochromatic
#0D041A #230C48 #3C147D #551CB2 #712EDE

Accessibility & contrast

On white

13.22
#3C147D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#3C147D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C147D
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C147D#FFFFFF#000000##FFFFFF
##3C147D1.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003180
Deuteranopia (green-blind)
#002E7B
Tritanopia (blue-blind)
#263349
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #3c147d;
/* rgb */ color: rgb(60, 20, 125);
/* oklch */ color: oklch(32.8% 0.159 292.4);
Tailwind
colors: {
  custom: {
    50: '#7a58a4',
    500: '#3c147d',
    950: '#000000',
  },
}
SCSS
$custom: #3c147d;
$custom-light: #7a58a4;
$custom-dark: #000000;
JSON
{
  "hex": "#3c147d",
  "rgb": {
    "r": 60,
    "g": 20,
    "b": 125
  },
  "hsl": {
    "h": 262.857,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32829,
    "c": 0.15936,
    "h": 292.4
  },
  "luminance": 0.02942
}

Semantic roles & 50–950 ramp

primary
#3C147D
secondary
#85B23A
accent
#EF39AA
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3C147D

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

Preview Lab → · Contrast checker → · Palette generator →

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