#4D3597#4D3597

#4D3597 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.4% C 0.153 H 289.3°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#4D3597
RGBrgb(77, 53, 151)
HSLhsl(255, 48%, 40%)
HSVhsv(255, 65%, 59%)
CMYKcmyk(49%, 64.9%, 0%, 40.8%)
CIE-LABlab(30.30, 35.84, -50.28)
CIE-LCHlch(30.30, 61.75, 305.48°)
OKLaboklab(41.44% 0.0504 -0.144)
OKLCHoklch(41.44% 0.153 289.3)
XYZxyz(9.9180, 6.3579, 29.9768)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3597 #7F9735
analogous
#354E97 #4D3597 #7E3597
triadic
#4D3597 #974D35 #35974D
tetradic
#4D3597 #97354E #7F9735 #35977E
square
#4D3597 #97354E #7F9735 #35977E
split-complementary
#4D3597 #977E35 #4E9735
monochromatic
#1F153C #36256A #4D3597 #674ABF #8D77CF

Accessibility & contrast

On white

9.24
#4D3597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#4D3597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3597
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3597#FFFFFF#000000##FFFFFF
##4D35971.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499A
Deuteranopia (green-blind)
#004595
Tritanopia (blue-blind)
#354C61
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4d3597;
/* rgb */ color: rgb(77, 53, 151);
/* oklch */ color: oklch(41.4% 0.153 289.3);
Tailwind
colors: {
  custom: {
    50: '#856eb6',
    500: '#4d3597',
    950: '#000000',
  },
}
SCSS
$custom: #4d3597;
$custom-light: #856eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3597",
  "rgb": {
    "r": 77,
    "g": 53,
    "b": 151
  },
  "hsl": {
    "h": 254.694,
    "s": 48.039,
    "l": 40
  },
  "oklch": {
    "l": 0.41443,
    "c": 0.15251,
    "h": 289.3
  },
  "luminance": 0.06358
}

Semantic roles & 50–950 ramp

primary
#4D3597
secondary
#A6B870
accent
#D850B6
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #4D3597

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

Preview Lab → · Contrast checker → · Palette generator →

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