#4D2F93#4D2F93

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

Color values

HEX#4D2F93
RGBrgb(77, 47, 147)
HSLhsl(258, 52%, 38%)
HSVhsv(258, 68%, 58%)
CMYKcmyk(47.6%, 68%, 0%, 42.4%)
CIE-LABlab(28.69, 38.13, -50.45)
CIE-LCHlch(28.69, 63.24, 307.08°)
OKLaboklab(40.18% 0.0573 -0.1444)
OKLCHoklch(40.18% 0.155 291.6)
XYZxyz(9.3421, 5.7171, 28.2094)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2F93 #75932F
analogous
#2F4393 #4D2F93 #7F2F93
triadic
#4D2F93 #934D2F #2F934D
tetradic
#4D2F93 #932F43 #75932F #2F937F
square
#4D2F93 #932F43 #75932F #2F937F
split-complementary
#4D2F93 #937F2F #43932F
monochromatic
#1C1136 #352065 #4D2F93 #653EC1 #8A6CD0

Accessibility & contrast

On white

9.80
#4D2F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#4D2F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2F93
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2F93#FFFFFF#000000##FFFFFF
##4D2F931.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004596
Deuteranopia (green-blind)
#004291
Tritanopia (blue-blind)
#37475D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4d2f93;
/* rgb */ color: rgb(77, 47, 147);
/* oklch */ color: oklch(40.2% 0.155 291.6);
Tailwind
colors: {
  custom: {
    50: '#856ab3',
    500: '#4d2f93',
    950: '#000000',
  },
}
SCSS
$custom: #4d2f93;
$custom-light: #856ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2f93",
  "rgb": {
    "r": 77,
    "g": 47,
    "b": 147
  },
  "hsl": {
    "h": 258,
    "s": 51.546,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40179,
    "c": 0.1554,
    "h": 291.6
  },
  "luminance": 0.05717
}

Semantic roles & 50–950 ramp

primary
#4D2F93
secondary
#9FB766
accent
#DB4DB0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4D2F93

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

Preview Lab → · Contrast checker → · Palette generator →

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