#4D3099#4D3099

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

Color values

HEX#4D3099
RGBrgb(77, 48, 153)
HSLhsl(257, 52%, 39%)
HSVhsv(257, 69%, 60%)
CMYKcmyk(49.7%, 68.6%, 0%, 40%)
CIE-LABlab(29.39, 39.33, -52.98)
CIE-LCHlch(29.39, 65.99, 306.59°)
OKLaboklab(40.84% 0.0554 -0.1519)
OKLCHoklch(40.84% 0.162 290)
XYZxyz(9.8656, 5.9912, 30.7674)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3099 #7C9930
analogous
#304899 #4D3099 #823099
triadic
#4D3099 #994D30 #30994D
tetradic
#4D3099 #993048 #7C9930 #309982
square
#4D3099 #993048 #7C9930 #309982
split-complementary
#4D3099 #998230 #489930
monochromatic
#1E133C #36216A #4D3099 #6642C4 #8C71D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D3099#FFFFFF#000000##FFFFFF
##4D30991.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)
#00479C
Deuteranopia (green-blind)
#004397
Tritanopia (blue-blind)
#344A60
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4d3099;
/* rgb */ color: rgb(77, 48, 153);
/* oklch */ color: oklch(40.8% 0.162 290.0);
Tailwind
colors: {
  custom: {
    50: '#866ab8',
    500: '#4d3099',
    950: '#000000',
  },
}
SCSS
$custom: #4d3099;
$custom-light: #866ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3099",
  "rgb": {
    "r": 77,
    "g": 48,
    "b": 153
  },
  "hsl": {
    "h": 256.571,
    "s": 52.239,
    "l": 39.412
  },
  "oklch": {
    "l": 0.40839,
    "c": 0.16167,
    "h": 290
  },
  "luminance": 0.05992
}

Semantic roles & 50–950 ramp

primary
#4D3099
secondary
#A4BA6B
accent
#DC4CB4
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #4D3099

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

Preview Lab → · Contrast checker → · Palette generator →

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