#4D2092#4D2092

#4D2092 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.1% C 0.172 H 294.7°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#4D2092
RGBrgb(77, 32, 146)
HSLhsl(264, 64%, 35%)
HSVhsv(264, 78%, 57%)
CMYKcmyk(47.3%, 78.1%, 0%, 42.7%)
CIE-LABlab(25.82, 45.63, -54.52)
CIE-LCHlch(25.82, 71.09, 309.93°)
OKLaboklab(38.12% 0.0719 -0.1563)
OKLCHoklch(38.12% 0.172 294.7)
XYZxyz(8.7640, 4.6859, 27.6313)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2092 #659220
analogous
#202C92 #4D2092 #862092
triadic
#4D2092 #924D20 #20924D
tetradic
#4D2092 #92202C #659220 #209286
square
#4D2092 #92202C #659220 #209286
split-complementary
#4D2092 #928620 #2C9220
monochromatic
#180A2E #331560 #4D2092 #672BC4 #8853D9

Accessibility & contrast

On white

10.84
#4D2092 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#4D2092 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2092
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2092#FFFFFF#000000##FFFFFF
##4D20921.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E95
Deuteranopia (green-blind)
#003B90
Tritanopia (blue-blind)
#393F58
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4d2092;
/* rgb */ color: rgb(77, 32, 146);
/* oklch */ color: oklch(38.1% 0.172 294.7);
Tailwind
colors: {
  custom: {
    50: '#8661b3',
    500: '#4d2092',
    950: '#000000',
  },
}
SCSS
$custom: #4d2092;
$custom-light: #8661b3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2092",
  "rgb": {
    "r": 77,
    "g": 32,
    "b": 146
  },
  "hsl": {
    "h": 263.684,
    "s": 64.045,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38117,
    "c": 0.17205,
    "h": 294.7
  },
  "luminance": 0.04686
}

Semantic roles & 50–950 ramp

primary
#4D2092
secondary
#92BD51
accent
#E741A5
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4D2092

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

Preview Lab → · Contrast checker → · Palette generator →

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