#4D3497#4D3497

#4D3497 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.3% C 0.154 H 289.5°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#4D3497
RGBrgb(77, 52, 151)
HSLhsl(255, 49%, 40%)
HSVhsv(255, 66%, 59%)
CMYKcmyk(49%, 65.6%, 0%, 40.8%)
CIE-LABlab(30.08, 36.43, -50.64)
CIE-LCHlch(30.08, 62.38, 305.73°)
OKLaboklab(41.28% 0.0514 -0.145)
OKLCHoklch(41.28% 0.154 289.5)
XYZxyz(9.8729, 6.2677, 29.9617)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3497 #7E9734
analogous
#344C97 #4D3497 #7F3497
triadic
#4D3497 #974D34 #34974D
tetradic
#4D3497 #97344C #7E9734 #34977F
square
#4D3497 #97344C #7E9734 #34977F
split-complementary
#4D3497 #977F34 #4C9734
monochromatic
#1F153C #362469 #4D3497 #6648C0 #8C76D0

Accessibility & contrast

On white

9.32
#4D3497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#4D3497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3497
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3497#FFFFFF#000000##FFFFFF
##4D34971.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d3497;
/* rgb */ color: rgb(77, 52, 151);
/* oklch */ color: oklch(41.3% 0.154 289.5);
Tailwind
colors: {
  custom: {
    50: '#856db6',
    500: '#4d3497',
    950: '#000000',
  },
}
SCSS
$custom: #4d3497;
$custom-light: #856db6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3497",
  "rgb": {
    "r": 77,
    "g": 52,
    "b": 151
  },
  "hsl": {
    "h": 255.152,
    "s": 48.768,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41284,
    "c": 0.15386,
    "h": 289.5
  },
  "luminance": 0.06268
}

Semantic roles & 50–950 ramp

primary
#4D3497
secondary
#A6B86F
accent
#D84FB6
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #4D3497

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

Preview Lab → · Contrast checker → · Palette generator →

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