#4D2EB0#4D2EB0

#4D2EB0 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.6% C 0.192 H 285.9°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#4D2EB0
RGBrgb(77, 46, 176)
HSLhsl(254, 59%, 44%)
HSVhsv(254, 74%, 69%)
CMYKcmyk(56.2%, 73.9%, 0%, 31%)
CIE-LABlab(31.03, 47.21, -64.18)
CIE-LCHlch(31.03, 79.67, 306.34°)
OKLaboklab(42.63% 0.0526 -0.1847)
OKLCHoklch(42.63% 0.192 285.9)
XYZxyz(11.8717, 6.6657, 41.7269)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2EB0 #91B02E
analogous
#2E50B0 #4D2EB0 #8E2EB0
triadic
#4D2EB0 #B04D2E #2EB04D
tetradic
#4D2EB0 #B02E50 #91B02E #2EB08E
square
#4D2EB0 #B02E50 #91B02E #2EB08E
split-complementary
#4D2EB0 #B08E2E #50B02E
monochromatic
#23154F #38217F #4D2EB0 #6B4BD0 #937CDD

Accessibility & contrast

On white

9.00
#4D2EB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#4D2EB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2EB0
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2EB0#FFFFFF#000000##FFFFFF
##4D2EB01.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB4
Deuteranopia (green-blind)
#0045AE
Tritanopia (blue-blind)
#1F526C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4d2eb0;
/* rgb */ color: rgb(77, 46, 176);
/* oklch */ color: oklch(42.6% 0.192 285.9);
Tailwind
colors: {
  custom: {
    50: '#8a6ac9',
    500: '#4d2eb0',
    950: '#000000',
  },
}
SCSS
$custom: #4d2eb0;
$custom-light: #8a6ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2eb0",
  "rgb": {
    "r": 77,
    "g": 46,
    "b": 176
  },
  "hsl": {
    "h": 254.308,
    "s": 58.559,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42634,
    "c": 0.19206,
    "h": 285.9
  },
  "luminance": 0.06666
}

Semantic roles & 50–950 ramp

primary
#4D2EB0
secondary
#B2C575
accent
#E246BD
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4D2EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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