#4D3294#4D3294

#4D3294 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.7% C 0.153 H 290.7°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#4D3294
RGBrgb(77, 50, 148)
HSLhsl(257, 49%, 39%)
HSVhsv(257, 66%, 58%)
CMYKcmyk(48%, 66.2%, 0%, 42%)
CIE-LABlab(29.40, 36.70, -49.90)
CIE-LCHlch(29.40, 61.94, 306.33°)
OKLaboklab(40.72% 0.0539 -0.1428)
OKLCHoklch(40.72% 0.153 290.7)
XYZxyz(9.5450, 5.9968, 28.6658)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3294 #799432
analogous
#324894 #4D3294 #7E3294
triadic
#4D3294 #944D32 #32944D
tetradic
#4D3294 #943248 #799432 #32947E
square
#4D3294 #943248 #799432 #32947E
split-complementary
#4D3294 #947E32 #489432
monochromatic
#1D1339 #352366 #4D3294 #6644C0 #8B71CF

Accessibility & contrast

On white

9.55
#4D3294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D3294
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3294#FFFFFF#000000##FFFFFF
##4D32941.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004797
Deuteranopia (green-blind)
#004392
Tritanopia (blue-blind)
#374A5E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4d3294;
/* rgb */ color: rgb(77, 50, 148);
/* oklch */ color: oklch(40.7% 0.153 290.7);
Tailwind
colors: {
  custom: {
    50: '#856bb4',
    500: '#4d3294',
    950: '#000000',
  },
}
SCSS
$custom: #4d3294;
$custom-light: #856bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3294",
  "rgb": {
    "r": 77,
    "g": 50,
    "b": 148
  },
  "hsl": {
    "h": 256.531,
    "s": 49.495,
    "l": 38.824
  },
  "oklch": {
    "l": 0.40721,
    "c": 0.15268,
    "h": 290.7
  },
  "luminance": 0.05997
}

Semantic roles & 50–950 ramp

primary
#4D3294
secondary
#A2B76B
accent
#D94FB3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #4D3294

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

Preview Lab → · Contrast checker → · Palette generator →

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