#4D358F#4D358F

#4D358F is a dark, vivid violet. Relative luminance 0.061; OKLCH L 40.8% C 0.142 H 291.1°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#4D358F
RGBrgb(77, 53, 143)
HSLhsl(256, 46%, 38%)
HSVhsv(256, 63%, 56%)
CMYKcmyk(46.2%, 62.9%, 0%, 43.9%)
CIE-LABlab(29.68, 33.42, -46.38)
CIE-LCHlch(29.68, 57.17, 305.78°)
OKLaboklab(40.8% 0.051 -0.1325)
OKLCHoklch(40.8% 0.142 291.1)
XYZxyz(9.2902, 6.1068, 26.6705)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D358F #778F35
analogous
#354A8F #4D358F #7A358F
triadic
#4D358F #8F4D35 #358F4D
tetradic
#4D358F #8F354A #778F35 #358F7A
square
#4D358F #8F354A #778F35 #358F7A
split-complementary
#4D358F #8F7A35 #4A8F35
monochromatic
#1D1436 #352462 #4D358F #6647BB #8B73CB

Accessibility & contrast

On white

9.45
#4D358F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#4D358F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D358F
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D358F#FFFFFF#000000##FFFFFF
##4D358F1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#00448D
Tritanopia (blue-blind)
#394A5D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4d358f;
/* rgb */ color: rgb(77, 53, 143);
/* oklch */ color: oklch(40.8% 0.142 291.1);
Tailwind
colors: {
  custom: {
    50: '#846db0',
    500: '#4d358f',
    950: '#000000',
  },
}
SCSS
$custom: #4d358f;
$custom-light: #846db0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d358f",
  "rgb": {
    "r": 77,
    "g": 53,
    "b": 143
  },
  "hsl": {
    "h": 256,
    "s": 45.918,
    "l": 38.431
  },
  "oklch": {
    "l": 0.40799,
    "c": 0.14195,
    "h": 291.1
  },
  "luminance": 0.06107
}

Semantic roles & 50–950 ramp

primary
#4D358F
secondary
#A1B46C
accent
#D652B3
background
#F8F6FA
surface
#F0ECF5
border
#CBC7CF
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #4D358F

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

Preview Lab → · Contrast checker → · Palette generator →

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