#4D2093#4D2093

#4D2093 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.2% C 0.173 H 294.4°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#4D2093
RGBrgb(77, 32, 147)
HSLhsl(263, 64%, 35%)
HSVhsv(263, 78%, 58%)
CMYKcmyk(47.6%, 78.2%, 0%, 42.4%)
CIE-LABlab(25.91, 45.90, -54.98)
CIE-LCHlch(25.91, 71.62, 309.85°)
OKLaboklab(38.21% 0.0716 -0.1577)
OKLCHoklch(38.21% 0.173 294.4)
XYZxyz(8.8421, 4.7171, 28.0427)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2093 #669320
analogous
#202D93 #4D2093 #862093
triadic
#4D2093 #934D20 #20934D
tetradic
#4D2093 #93202D #669320 #209386
square
#4D2093 #93202D #669320 #209386
split-complementary
#4D2093 #938620 #2D9320
monochromatic
#180A2E #331561 #4D2093 #672BC5 #8854DA

Accessibility & contrast

On white

10.81
#4D2093 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D2093
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2093#FFFFFF#000000##FFFFFF
##4D20931.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E96
Deuteranopia (green-blind)
#003B91
Tritanopia (blue-blind)
#384059
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4d2093;
/* rgb */ color: rgb(77, 32, 147);
/* oklch */ color: oklch(38.2% 0.173 294.4);
Tailwind
colors: {
  custom: {
    50: '#8661b4',
    500: '#4d2093',
    950: '#000000',
  },
}
SCSS
$custom: #4d2093;
$custom-light: #8661b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2093",
  "rgb": {
    "r": 77,
    "g": 32,
    "b": 147
  },
  "hsl": {
    "h": 263.478,
    "s": 64.246,
    "l": 35.098
  },
  "oklch": {
    "l": 0.3821,
    "c": 0.17317,
    "h": 294.4
  },
  "luminance": 0.04717
}

Semantic roles & 50–950 ramp

primary
#4D2093
secondary
#93BD52
accent
#E741A6
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4D2093

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

Preview Lab → · Contrast checker → · Palette generator →

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