#3C147F#3C147F

#3C147F is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.0% C 0.162 H 291.8°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#3C147F
RGBrgb(60, 20, 127)
HSLhsl(262, 73%, 29%)
HSVhsv(262, 84%, 50%)
CMYKcmyk(52.8%, 84.3%, 0%, 50.2%)
CIE-LABlab(20.02, 43.22, -52.23)
CIE-LCHlch(20.02, 67.79, 309.60°)
OKLaboklab(33.03% 0.0599 -0.1501)
OKLCHoklch(33.03% 0.162 291.8)
XYZxyz(5.9433, 2.9930, 20.3391)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C147F #577F14
analogous
#14227F #3C147F #72147F
triadic
#3C147F #7F3C14 #147F3C
tetradic
#3C147F #7F1422 #577F14 #147F72
square
#3C147F #7F1422 #577F14 #147F72
split-complementary
#3C147F #7F7214 #227F14
monochromatic
#0C041A #230C4A #3C147F #551CB4 #712FDE

Accessibility & contrast

On white

13.14
#3C147F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#3C147F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C147F
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C147F#FFFFFF#000000##FFFFFF
##3C147F1.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003282
Deuteranopia (green-blind)
#002E7D
Tritanopia (blue-blind)
#25344B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #3c147f;
/* rgb */ color: rgb(60, 20, 127);
/* oklch */ color: oklch(33.0% 0.162 291.8);
Tailwind
colors: {
  custom: {
    50: '#7a58a5',
    500: '#3c147f',
    950: '#000000',
  },
}
SCSS
$custom: #3c147f;
$custom-light: #7a58a5;
$custom-dark: #000000;
JSON
{
  "hex": "#3c147f",
  "rgb": {
    "r": 60,
    "g": 20,
    "b": 127
  },
  "hsl": {
    "h": 262.43,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33035,
    "c": 0.16161,
    "h": 291.8
  },
  "luminance": 0.02993
}

Semantic roles & 50–950 ramp

primary
#3C147F
secondary
#87B43B
accent
#EF38AB
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3C147F

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

Preview Lab → · Contrast checker → · Palette generator →

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