#4D2394#4D2394

#4D2394 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.6% C 0.171 H 293.7°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#4D2394
RGBrgb(77, 35, 148)
HSLhsl(262, 62%, 36%)
HSVhsv(262, 76%, 58%)
CMYKcmyk(48%, 76.4%, 0%, 42%)
CIE-LABlab(26.50, 44.76, -54.64)
CIE-LCHlch(26.50, 70.63, 309.32°)
OKLaboklab(38.65% 0.0688 -0.1567)
OKLCHoklch(38.65% 0.171 293.7)
XYZxyz(9.0054, 4.9177, 28.4860)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2394 #6A9423
analogous
#233194 #4D2394 #852394
triadic
#4D2394 #944D23 #23944D
tetradic
#4D2394 #942331 #6A9423 #239485
square
#4D2394 #942331 #6A9423 #239485
split-complementary
#4D2394 #948523 #319423
monochromatic
#190C31 #331763 #4D2394 #672FC5 #885AD8

Accessibility & contrast

On white

10.59
#4D2394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#4D2394 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2394
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2394#FFFFFF#000000##FFFFFF
##4D23941.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004097
Deuteranopia (green-blind)
#003D92
Tritanopia (blue-blind)
#38415A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4d2394;
/* rgb */ color: rgb(77, 35, 148);
/* oklch */ color: oklch(38.6% 0.171 293.7);
Tailwind
colors: {
  custom: {
    50: '#8663b4',
    500: '#4d2394',
    950: '#000000',
  },
}
SCSS
$custom: #4d2394;
$custom-light: #8663b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2394",
  "rgb": {
    "r": 77,
    "g": 35,
    "b": 148
  },
  "hsl": {
    "h": 262.301,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38649,
    "c": 0.17112,
    "h": 293.7
  },
  "luminance": 0.04918
}

Semantic roles & 50–950 ramp

primary
#4D2394
secondary
#96BC57
accent
#E543A9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4D2394

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

Preview Lab → · Contrast checker → · Palette generator →

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