#4D3286#4D3286

#4D3286 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.6% C 0.134 H 294.2°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#4D3286
RGBrgb(77, 50, 134)
HSLhsl(259, 46%, 36%)
HSVhsv(259, 63%, 53%)
CMYKcmyk(42.5%, 62.7%, 0%, 47.5%)
CIE-LABlab(28.33, 32.56, -42.99)
CIE-LCHlch(28.33, 53.93, 307.14°)
OKLaboklab(39.6% 0.0552 -0.1225)
OKLCHoklch(39.6% 0.134 294.2)
XYZxyz(8.5031, 5.5800, 23.1787)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3286 #6B8632
analogous
#324186 #4D3286 #773286
triadic
#4D3286 #864D32 #32864D
tetradic
#4D3286 #863241 #6B8632 #328677
square
#4D3286 #863241 #6B8632 #328677
split-complementary
#4D3286 #867732 #418632
monochromatic
#1A112D #332159 #4D3286 #6743B3 #896BC8

Accessibility & contrast

On white

9.92
#4D3286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#4D3286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3286
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3286#FFFFFF#000000##FFFFFF
##4D32861.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004489
Deuteranopia (green-blind)
#014184
Tritanopia (blue-blind)
#3E4557
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4d3286;
/* rgb */ color: rgb(77, 50, 134);
/* oklch */ color: oklch(39.6% 0.134 294.2);
Tailwind
colors: {
  custom: {
    50: '#836baa',
    500: '#4d3286',
    950: '#000000',
  },
}
SCSS
$custom: #4d3286;
$custom-light: #836baa;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3286",
  "rgb": {
    "r": 77,
    "g": 50,
    "b": 134
  },
  "hsl": {
    "h": 259.286,
    "s": 45.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.39599,
    "c": 0.13436,
    "h": 294.2
  },
  "luminance": 0.0558
}

Semantic roles & 50–950 ramp

primary
#4D3286
secondary
#97AF64
accent
#D552AB
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4D3286

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

Preview Lab → · Contrast checker → · Palette generator →

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