#4C3285#4C3285

#4C3285 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.4% C 0.133 H 293.8°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#4C3285
RGBrgb(76, 50, 133)
HSLhsl(259, 45%, 36%)
HSVhsv(259, 62%, 52%)
CMYKcmyk(42.9%, 62.4%, 0%, 47.8%)
CIE-LABlab(28.14, 32.03, -42.67)
CIE-LCHlch(28.14, 53.36, 306.89°)
OKLaboklab(39.42% 0.0538 -0.1216)
OKLCHoklch(39.42% 0.133 293.8)
XYZxyz(8.3536, 5.5109, 22.8093)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C3285 #6B8532
analogous
#324185 #4C3285 #753285
triadic
#4C3285 #854C32 #32854C
tetradic
#4C3285 #853241 #6B8532 #328575
square
#4C3285 #853241 #6B8532 #328575
split-complementary
#4C3285 #857532 #418532
monochromatic
#19112C #332159 #4C3285 #6543B1 #876AC7

Accessibility & contrast

On white

9.99
#4C3285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#4C3285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C3285
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C3285#FFFFFF#000000##FFFFFF
##4C32851.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004388
Deuteranopia (green-blind)
#024183
Tritanopia (blue-blind)
#3D4456
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4c3285;
/* rgb */ color: rgb(76, 50, 133);
/* oklch */ color: oklch(39.4% 0.133 293.8);
Tailwind
colors: {
  custom: {
    50: '#826ba9',
    500: '#4c3285',
    950: '#000000',
  },
}
SCSS
$custom: #4c3285;
$custom-light: #826ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#4c3285",
  "rgb": {
    "r": 76,
    "g": 50,
    "b": 133
  },
  "hsl": {
    "h": 258.795,
    "s": 45.355,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39416,
    "c": 0.13296,
    "h": 293.8
  },
  "luminance": 0.05511
}

Semantic roles & 50–950 ramp

primary
#4C3285
secondary
#97AF64
accent
#D553AC
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4C3285

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

Preview Lab → · Contrast checker → · Palette generator →

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