#4D358E#4D358E

#4D358E is a dark, vivid violet. Relative luminance 0.061; OKLCH L 40.7% C 0.141 H 291.3°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#4D358E
RGBrgb(77, 53, 142)
HSLhsl(256, 46%, 38%)
HSVhsv(256, 63%, 56%)
CMYKcmyk(45.8%, 62.7%, 0%, 44.3%)
CIE-LABlab(29.61, 33.12, -45.88)
CIE-LCHlch(29.61, 56.59, 305.82°)
OKLaboklab(40.72% 0.0511 -0.131)
OKLCHoklch(40.72% 0.141 291.3)
XYZxyz(9.2148, 6.0767, 26.2733)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D358E #768E35
analogous
#35498E #4D358E #79358E
triadic
#4D358E #8E4D35 #358E4D
tetradic
#4D358E #8E3549 #768E35 #358E79
square
#4D358E #8E3549 #768E35 #358E79
split-complementary
#4D358E #8E7935 #498E35
monochromatic
#1D1435 #352461 #4D358E #6546BA #8A73CB

Accessibility & contrast

On white

9.48
#4D358E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D358E
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D358E#FFFFFF#000000##FFFFFF
##4D358E1.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#00448C
Tritanopia (blue-blind)
#3A495C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4d358e;
/* rgb */ color: rgb(77, 53, 142);
/* oklch */ color: oklch(40.7% 0.141 291.3);
Tailwind
colors: {
  custom: {
    50: '#846db0',
    500: '#4d358e',
    950: '#000000',
  },
}
SCSS
$custom: #4d358e;
$custom-light: #846db0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d358e",
  "rgb": {
    "r": 77,
    "g": 53,
    "b": 142
  },
  "hsl": {
    "h": 256.18,
    "s": 45.641,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4072,
    "c": 0.14062,
    "h": 291.3
  },
  "luminance": 0.06077
}

Semantic roles & 50–950 ramp

primary
#4D358E
secondary
#A0B36C
accent
#D552B2
background
#F8F6FA
surface
#F0ECF5
border
#CBC7CF
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4D358E

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

Preview Lab → · Contrast checker → · Palette generator →

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