#3C147E#3C147E

#3C147E is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.160 H 292.1°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#3C147E
RGBrgb(60, 20, 126)
HSLhsl(263, 73%, 29%)
HSVhsv(263, 84%, 49%)
CMYKcmyk(52.4%, 84.1%, 0%, 50.6%)
CIE-LABlab(19.91, 42.94, -51.77)
CIE-LCHlch(19.91, 67.26, 309.68°)
OKLaboklab(32.93% 0.0603 -0.1487)
OKLCHoklch(32.93% 0.16 292.1)
XYZxyz(5.8785, 2.9671, 19.9976)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C147E #567E14
analogous
#14217E #3C147E #71147E
triadic
#3C147E #7E3C14 #147E3C
tetradic
#3C147E #7E1421 #567E14 #147E71
square
#3C147E #7E1421 #567E14 #147E71
split-complementary
#3C147E #7E7114 #217E14
monochromatic
#0D041A #230C49 #3C147E #551CB3 #712EDE

Accessibility & contrast

On white

13.18
#3C147E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C147E
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C147E#FFFFFF#000000##FFFFFF
##3C147E1.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003281
Deuteranopia (green-blind)
#002E7C
Tritanopia (blue-blind)
#25344A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #3c147e;
/* rgb */ color: rgb(60, 20, 126);
/* oklch */ color: oklch(32.9% 0.160 292.1);
Tailwind
colors: {
  custom: {
    50: '#7a58a4',
    500: '#3c147e',
    950: '#000000',
  },
}
SCSS
$custom: #3c147e;
$custom-light: #7a58a4;
$custom-dark: #000000;
JSON
{
  "hex": "#3c147e",
  "rgb": {
    "r": 60,
    "g": 20,
    "b": 126
  },
  "hsl": {
    "h": 262.642,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32932,
    "c": 0.16049,
    "h": 292.1
  },
  "luminance": 0.02967
}

Semantic roles & 50–950 ramp

primary
#3C147E
secondary
#86B33A
accent
#EF38AA
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3C147E

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

Preview Lab → · Contrast checker → · Palette generator →

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