#4D2094#4D2094

#4D2094 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.3% C 0.174 H 294.2°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#4D2094
RGBrgb(77, 32, 148)
HSLhsl(263, 64%, 35%)
HSVhsv(263, 78%, 58%)
CMYKcmyk(48%, 78.4%, 0%, 42%)
CIE-LABlab(26.01, 46.16, -55.45)
CIE-LCHlch(26.01, 72.15, 309.78°)
OKLaboklab(38.3% 0.0713 -0.159)
OKLCHoklch(38.3% 0.174 294.2)
XYZxyz(8.9209, 4.7487, 28.4578)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2094 #679420
analogous
#202D94 #4D2094 #872094
triadic
#4D2094 #944D20 #20944D
tetradic
#4D2094 #94202D #679420 #209487
square
#4D2094 #94202D #679420 #209487
split-complementary
#4D2094 #948720 #2D9420
monochromatic
#190A2F #331562 #4D2094 #672BC6 #8854DA

Accessibility & contrast

On white

10.77
#4D2094 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#4D2094 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2094
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2094#FFFFFF#000000##FFFFFF
##4D20941.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F97
Deuteranopia (green-blind)
#003C92
Tritanopia (blue-blind)
#384059
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4d2094;
/* rgb */ color: rgb(77, 32, 148);
/* oklch */ color: oklch(38.3% 0.174 294.2);
Tailwind
colors: {
  custom: {
    50: '#8661b4',
    500: '#4d2094',
    950: '#000000',
  },
}
SCSS
$custom: #4d2094;
$custom-light: #8661b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2094",
  "rgb": {
    "r": 77,
    "g": 32,
    "b": 148
  },
  "hsl": {
    "h": 263.276,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38304,
    "c": 0.17429,
    "h": 294.2
  },
  "luminance": 0.04749
}

Semantic roles & 50–950 ramp

primary
#4D2094
secondary
#94BE52
accent
#E740A7
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4D2094

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

Preview Lab → · Contrast checker → · Palette generator →

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