#4D2694#4D2694

#4D2694 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.0% C 0.168 H 293.2°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#4D2694
RGBrgb(77, 38, 148)
HSLhsl(261, 59%, 36%)
HSVhsv(261, 74%, 58%)
CMYKcmyk(48%, 74.3%, 0%, 42%)
CIE-LABlab(27.02, 43.27, -53.78)
CIE-LCHlch(27.02, 69.03, 308.82°)
OKLaboklab(39.02% 0.0661 -0.1542)
OKLCHoklch(39.02% 0.168 293.2)
XYZxyz(9.0975, 5.1018, 28.5166)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2694 #6D9426
analogous
#263694 #4D2694 #842694
triadic
#4D2694 #944D26 #26944D
tetradic
#4D2694 #942636 #6D9426 #269484
square
#4D2694 #942636 #6D9426 #269484
split-complementary
#4D2694 #948426 #369426
monochromatic
#1A0D33 #341963 #4D2694 #6633C5 #895FD6

Accessibility & contrast

On white

10.39
#4D2694 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#4D2694 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2694
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2694#FFFFFF#000000##FFFFFF
##4D26941.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004197
Deuteranopia (green-blind)
#003E92
Tritanopia (blue-blind)
#37435B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4d2694;
/* rgb */ color: rgb(77, 38, 148);
/* oklch */ color: oklch(39.0% 0.168 293.2);
Tailwind
colors: {
  custom: {
    50: '#8664b4',
    500: '#4d2694',
    950: '#000000',
  },
}
SCSS
$custom: #4d2694;
$custom-light: #8664b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2694",
  "rgb": {
    "r": 77,
    "g": 38,
    "b": 148
  },
  "hsl": {
    "h": 261.273,
    "s": 59.14,
    "l": 36.471
  },
  "oklch": {
    "l": 0.39018,
    "c": 0.16775,
    "h": 293.2
  },
  "luminance": 0.05102
}

Semantic roles & 50–950 ramp

primary
#4D2694
secondary
#99BB5B
accent
#E245AB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4D2694

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

Preview Lab → · Contrast checker → · Palette generator →

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