#4D3284#4D3284

#4D3284 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.4% C 0.132 H 294.8°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#4D3284
RGBrgb(77, 50, 132)
HSLhsl(260, 45%, 36%)
HSVhsv(260, 62%, 52%)
CMYKcmyk(41.7%, 62.1%, 0%, 48.2%)
CIE-LABlab(28.18, 31.97, -41.98)
CIE-LCHlch(28.18, 52.77, 307.29°)
OKLaboklab(39.45% 0.0553 -0.1195)
OKLCHoklch(39.45% 0.132 294.8)
XYZxyz(8.3649, 5.5247, 22.4510)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3284 #698432
analogous
#324084 #4D3284 #763284
triadic
#4D3284 #844D32 #32844D
tetradic
#4D3284 #843240 #698432 #328476
square
#4D3284 #843240 #698432 #328476
split-complementary
#4D3284 #847632 #408432
monochromatic
#19102B #332158 #4D3284 #6743B0 #886AC7

Accessibility & contrast

On white

9.98
#4D3284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#4D3284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3284
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3284#FFFFFF#000000##FFFFFF
##4D32841.009.982.119.98
#FFFFFF9.981.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004387
Deuteranopia (green-blind)
#074182
Tritanopia (blue-blind)
#3F4456
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4d3284;
/* rgb */ color: rgb(77, 50, 132);
/* oklch */ color: oklch(39.4% 0.132 294.8);
Tailwind
colors: {
  custom: {
    50: '#836ba8',
    500: '#4d3284',
    950: '#000000',
  },
}
SCSS
$custom: #4d3284;
$custom-light: #836ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3284",
  "rgb": {
    "r": 77,
    "g": 50,
    "b": 132
  },
  "hsl": {
    "h": 259.756,
    "s": 45.055,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39445,
    "c": 0.1317,
    "h": 294.8
  },
  "luminance": 0.05525
}

Semantic roles & 50–950 ramp

primary
#4D3284
secondary
#96AE64
accent
#D553AA
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4D3284

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

Preview Lab → · Contrast checker → · Palette generator →

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