#4D2E94#4D2E94

#4D2E94 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.1% C 0.158 H 291.6°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#4D2E94
RGBrgb(77, 46, 148)
HSLhsl(258, 53%, 38%)
HSVhsv(258, 69%, 58%)
CMYKcmyk(48%, 68.9%, 0%, 42%)
CIE-LABlab(28.56, 38.99, -51.27)
CIE-LCHlch(28.56, 64.41, 307.25°)
OKLaboklab(40.12% 0.0582 -0.1468)
OKLCHoklch(40.12% 0.158 291.6)
XYZxyz(9.3814, 5.6696, 28.6113)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2E94 #75942E
analogous
#2E4294 #4D2E94 #802E94
triadic
#4D2E94 #944D2E #2E944D
tetradic
#4D2E94 #942E42 #75942E #2E9480
square
#4D2E94 #942E42 #75942E #2E9480
split-complementary
#4D2E94 #94802E #42942E
monochromatic
#1C1137 #351F65 #4D2E94 #653DC3 #8A6BD1

Accessibility & contrast

On white

9.84
#4D2E94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#4D2E94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2E94
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2E94#FFFFFF#000000##FFFFFF
##4D2E941.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004597
Deuteranopia (green-blind)
#004192
Tritanopia (blue-blind)
#37475D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4d2e94;
/* rgb */ color: rgb(77, 46, 148);
/* oklch */ color: oklch(40.1% 0.158 291.6);
Tailwind
colors: {
  custom: {
    50: '#8569b4',
    500: '#4d2e94',
    950: '#000000',
  },
}
SCSS
$custom: #4d2e94;
$custom-light: #8569b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2e94",
  "rgb": {
    "r": 77,
    "g": 46,
    "b": 148
  },
  "hsl": {
    "h": 258.235,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40115,
    "c": 0.15796,
    "h": 291.6
  },
  "luminance": 0.0567
}

Semantic roles & 50–950 ramp

primary
#4D2E94
secondary
#9FB866
accent
#DC4CB0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4D2E94

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

Preview Lab → · Contrast checker → · Palette generator →

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