#3C147B#3C147B

#3C147B is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.6% C 0.157 H 293.0°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#3C147B
RGBrgb(60, 20, 123)
HSLhsl(263, 72%, 28%)
HSVhsv(263, 84%, 48%)
CMYKcmyk(51.2%, 83.7%, 0%, 51.8%)
CIE-LABlab(19.60, 42.12, -50.37)
CIE-LCHlch(19.60, 65.66, 309.90°)
OKLaboklab(32.62% 0.0614 -0.1446)
OKLCHoklch(32.62% 0.157 293)
XYZxyz(5.6878, 2.8908, 18.9934)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C147B #537B14
analogous
#141F7B #3C147B #6F147B
triadic
#3C147B #7B3C14 #147B3C
tetradic
#3C147B #7B141F #537B14 #147B6F
square
#3C147B #7B141F #537B14 #147B6F
split-complementary
#3C147B #7B6F14 #1F7B14
monochromatic
#0D041A #220B46 #3C147B #561DB0 #712DDD

Accessibility & contrast

On white

13.31
#3C147B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#3C147B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C147B
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C147B#FFFFFF#000000##FFFFFF
##3C147B1.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317E
Deuteranopia (green-blind)
#002D79
Tritanopia (blue-blind)
#283248
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3c147b;
/* rgb */ color: rgb(60, 20, 123);
/* oklch */ color: oklch(32.6% 0.157 293.0);
Tailwind
colors: {
  custom: {
    50: '#7a58a2',
    500: '#3c147b',
    950: '#000000',
  },
}
SCSS
$custom: #3c147b;
$custom-light: #7a58a2;
$custom-dark: #000000;
JSON
{
  "hex": "#3c147b",
  "rgb": {
    "r": 60,
    "g": 20,
    "b": 123
  },
  "hsl": {
    "h": 263.301,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32624,
    "c": 0.15712,
    "h": 293
  },
  "luminance": 0.02891
}

Semantic roles & 50–950 ramp

primary
#3C147B
secondary
#83B13A
accent
#EF39A8
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A030F
muted
#7C787F

Preview Lab

Preview with #3C147B

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

Preview Lab → · Contrast checker → · Palette generator →

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