#4C358C#4C358C

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

Color values

HEX#4C358C
RGBrgb(76, 53, 140)
HSLhsl(256, 45%, 38%)
HSVhsv(256, 62%, 55%)
CMYKcmyk(45.7%, 62.1%, 0%, 45.1%)
CIE-LABlab(29.35, 32.30, -45.06)
CIE-LCHlch(29.35, 55.44, 305.63°)
OKLaboklab(40.46% 0.0498 -0.1286)
OKLCHoklch(40.46% 0.138 291.1)
XYZxyz(8.9859, 5.9759, 25.4859)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C358C #758C35
analogous
#35498C #4C358C #77358C
triadic
#4C358C #8C4C35 #358C4C
tetradic
#4C358C #8C3549 #758C35 #358C77
square
#4C358C #8C3549 #758C35 #358C77
split-complementary
#4C358C #8C7735 #498C35
monochromatic
#1C1333 #342460 #4C358C #6446B8 #8972CA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C358C#FFFFFF#000000##FFFFFF
##4C358C1.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)
#00478F
Deuteranopia (green-blind)
#00438A
Tritanopia (blue-blind)
#39495B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4c358c;
/* rgb */ color: rgb(76, 53, 140);
/* oklch */ color: oklch(40.5% 0.138 291.1);
Tailwind
colors: {
  custom: {
    50: '#836dae',
    500: '#4c358c',
    950: '#000000',
  },
}
SCSS
$custom: #4c358c;
$custom-light: #836dae;
$custom-dark: #000000;
JSON
{
  "hex": "#4c358c",
  "rgb": {
    "r": 76,
    "g": 53,
    "b": 140
  },
  "hsl": {
    "h": 255.862,
    "s": 45.078,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40463,
    "c": 0.13793,
    "h": 291.1
  },
  "luminance": 0.05976
}

Semantic roles & 50–950 ramp

primary
#4C358C
secondary
#9FB26B
accent
#D553B2
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4C358C

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

Preview Lab → · Contrast checker → · Palette generator →

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