#4D3085#4D3085

#4D3085 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.2% C 0.136 H 295.1°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#4D3085
RGBrgb(77, 48, 133)
HSLhsl(260, 47%, 35%)
HSVhsv(260, 64%, 52%)
CMYKcmyk(42.1%, 63.9%, 0%, 47.8%)
CIE-LABlab(27.80, 33.46, -43.21)
CIE-LCHlch(27.80, 54.65, 307.75°)
OKLaboklab(39.2% 0.0577 -0.1232)
OKLCHoklch(39.2% 0.136 295.1)
XYZxyz(8.3500, 5.3850, 22.7852)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3085 #688530
analogous
#303D85 #4D3085 #773085
triadic
#4D3085 #854D30 #30854D
tetradic
#4D3085 #85303D #688530 #308577
square
#4D3085 #85303D #688530 #308577
split-complementary
#4D3085 #857730 #3D8530
monochromatic
#19102B #332058 #4D3085 #6740B2 #8867C8

Accessibility & contrast

On white

10.11
#4D3085 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#4D3085 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3085
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3085#FFFFFF#000000##FFFFFF
##4D30851.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004288
Deuteranopia (green-blind)
#004083
Tritanopia (blue-blind)
#3F4356
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4d3085;
/* rgb */ color: rgb(77, 48, 133);
/* oklch */ color: oklch(39.2% 0.136 295.1);
Tailwind
colors: {
  custom: {
    50: '#836aa9',
    500: '#4d3085',
    950: '#000000',
  },
}
SCSS
$custom: #4d3085;
$custom-light: #836aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3085",
  "rgb": {
    "r": 77,
    "g": 48,
    "b": 133
  },
  "hsl": {
    "h": 260.471,
    "s": 46.961,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39195,
    "c": 0.136,
    "h": 295.1
  },
  "luminance": 0.05385
}

Semantic roles & 50–950 ramp

primary
#4D3085
secondary
#95AF61
accent
#D751A9
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4D3085

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

Preview Lab → · Contrast checker → · Palette generator →

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