#4D30AE#4D30AE

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

Color values

HEX#4D30AE
RGBrgb(77, 48, 174)
HSLhsl(254, 57%, 44%)
HSVhsv(254, 72%, 68%)
CMYKcmyk(55.7%, 72.4%, 0%, 31.8%)
CIE-LABlab(31.22, 45.56, -62.67)
CIE-LCHlch(31.22, 77.49, 306.02°)
OKLaboklab(42.71% 0.0514 -0.1803)
OKLCHoklch(42.71% 0.188 285.9)
XYZxyz(11.7552, 6.7470, 40.7191)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D30AE #91AE30
analogous
#3052AE #4D30AE #8C30AE
triadic
#4D30AE #AE4D30 #30AE4D
tetradic
#4D30AE #AE3052 #91AE30 #30AE8C
square
#4D30AE #AE3052 #91AE30 #30AE8C
split-complementary
#4D30AE #AE8C30 #52AE30
monochromatic
#23164E #38237E #4D30AE #6B4DCE #937DDB

Accessibility & contrast

On white

8.94
#4D30AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#4D30AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D30AE
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D30AE#FFFFFF#000000##FFFFFF
##4D30AE1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB2
Deuteranopia (green-blind)
#0046AC
Tritanopia (blue-blind)
#21526C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4d30ae;
/* rgb */ color: rgb(77, 48, 174);
/* oklch */ color: oklch(42.7% 0.188 285.9);
Tailwind
colors: {
  custom: {
    50: '#896bc7',
    500: '#4d30ae',
    950: '#000000',
  },
}
SCSS
$custom: #4d30ae;
$custom-light: #896bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d30ae",
  "rgb": {
    "r": 77,
    "g": 48,
    "b": 174
  },
  "hsl": {
    "h": 253.81,
    "s": 56.757,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42713,
    "c": 0.18751,
    "h": 285.9
  },
  "luminance": 0.06748
}

Semantic roles & 50–950 ramp

primary
#4D30AE
secondary
#B2C476
accent
#E048BD
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4D30AE

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

Preview Lab → · Contrast checker → · Palette generator →

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