#4D358C#4D358C

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

Color values

HEX#4D358C
RGBrgb(77, 53, 140)
HSLhsl(257, 45%, 38%)
HSVhsv(257, 62%, 55%)
CMYKcmyk(45%, 62.1%, 0%, 45.1%)
CIE-LABlab(29.46, 32.52, -44.89)
CIE-LCHlch(29.46, 55.43, 305.92°)
OKLaboklab(40.56% 0.0512 -0.1281)
OKLCHoklch(40.56% 0.138 291.8)
XYZxyz(9.0660, 6.0172, 25.4896)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D358C #748C35
analogous
#35488C #4D358C #79358C
triadic
#4D358C #8C4D35 #358C4D
tetradic
#4D358C #8C3548 #748C35 #358C79
square
#4D358C #8C3548 #748C35 #358C79
split-complementary
#4D358C #8C7935 #488C35
monochromatic
#1C1333 #352460 #4D358C #6546B8 #8A72CA

Accessibility & contrast

On white

9.53
#4D358C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D358C
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D358C#FFFFFF#000000##FFFFFF
##4D358C1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478F
Deuteranopia (green-blind)
#00448A
Tritanopia (blue-blind)
#3B495B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4d358c;
/* rgb */ color: rgb(77, 53, 140);
/* oklch */ color: oklch(40.6% 0.138 291.8);
Tailwind
colors: {
  custom: {
    50: '#846dae',
    500: '#4d358c',
    950: '#000000',
  },
}
SCSS
$custom: #4d358c;
$custom-light: #846dae;
$custom-dark: #000000;
JSON
{
  "hex": "#4d358c",
  "rgb": {
    "r": 77,
    "g": 53,
    "b": 140
  },
  "hsl": {
    "h": 256.552,
    "s": 45.078,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40564,
    "c": 0.13795,
    "h": 291.8
  },
  "luminance": 0.06017
}

Semantic roles & 50–950 ramp

primary
#4D358C
secondary
#9EB26B
accent
#D553B1
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4D358C

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

Preview Lab → · Contrast checker → · Palette generator →

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