#4C348F#4C348F

#4C348F is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.5% C 0.143 H 290.7°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#4C348F
RGBrgb(76, 52, 143)
HSLhsl(256, 47%, 38%)
HSVhsv(256, 64%, 56%)
CMYKcmyk(46.9%, 63.6%, 0%, 43.9%)
CIE-LABlab(29.35, 33.81, -46.92)
CIE-LCHlch(29.35, 57.83, 305.77°)
OKLaboklab(40.53% 0.0508 -0.1341)
OKLCHoklch(40.53% 0.143 290.7)
XYZxyz(9.1650, 5.9753, 26.6517)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C348F #778F34
analogous
#34498F #4C348F #79348F
triadic
#4C348F #8F4C34 #348F4C
tetradic
#4C348F #8F3449 #778F34 #348F79
square
#4C348F #8F3449 #778F34 #348F79
split-complementary
#4C348F #8F7934 #498F34
monochromatic
#1C1335 #342462 #4C348F #6445BB #8972CC

Accessibility & contrast

On white

9.57
#4C348F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#4C348F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C348F
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C348F#FFFFFF#000000##FFFFFF
##4C348F1.009.572.209.57
#FFFFFF9.571.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#00438D
Tritanopia (blue-blind)
#38495C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4c348f;
/* rgb */ color: rgb(76, 52, 143);
/* oklch */ color: oklch(40.5% 0.143 290.7);
Tailwind
colors: {
  custom: {
    50: '#846db0',
    500: '#4c348f',
    950: '#000000',
  },
}
SCSS
$custom: #4c348f;
$custom-light: #846db0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c348f",
  "rgb": {
    "r": 76,
    "g": 52,
    "b": 143
  },
  "hsl": {
    "h": 255.824,
    "s": 46.667,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40534,
    "c": 0.14337,
    "h": 290.7
  },
  "luminance": 0.05976
}

Semantic roles & 50–950 ramp

primary
#4C348F
secondary
#A1B46B
accent
#D651B3
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #4C348F

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

Preview Lab → · Contrast checker → · Palette generator →

#4C348F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva