#4D358D#4D358D

#4D358D is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.6% C 0.139 H 291.5°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#4D358D
RGBrgb(77, 53, 141)
HSLhsl(256, 45%, 38%)
HSVhsv(256, 62%, 55%)
CMYKcmyk(45.4%, 62.4%, 0%, 44.7%)
CIE-LABlab(29.53, 32.82, -45.39)
CIE-LCHlch(29.53, 56.01, 305.87°)
OKLaboklab(40.64% 0.0511 -0.1296)
OKLCHoklch(40.64% 0.139 291.5)
XYZxyz(9.1401, 6.0468, 25.8797)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D358D #758D35
analogous
#35498D #4D358D #79358D
triadic
#4D358D #8D4D35 #358D4D
tetradic
#4D358D #8D3549 #758D35 #358D79
square
#4D358D #8D3549 #758D35 #358D79
split-complementary
#4D358D #8D7935 #498D35
monochromatic
#1C1434 #352461 #4D358D #6546B9 #8A72CA

Accessibility & contrast

On white

9.50
#4D358D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#4D358D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D358D
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D358D#FFFFFF#000000##FFFFFF
##4D358D1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d358d;
/* rgb */ color: rgb(77, 53, 141);
/* oklch */ color: oklch(40.6% 0.139 291.5);
Tailwind
colors: {
  custom: {
    50: '#846daf',
    500: '#4d358d',
    950: '#000000',
  },
}
SCSS
$custom: #4d358d;
$custom-light: #846daf;
$custom-dark: #000000;
JSON
{
  "hex": "#4d358d",
  "rgb": {
    "r": 77,
    "g": 53,
    "b": 141
  },
  "hsl": {
    "h": 256.364,
    "s": 45.361,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40642,
    "c": 0.13928,
    "h": 291.5
  },
  "luminance": 0.06047
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D358D

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

Preview Lab → · Contrast checker → · Palette generator →

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