#4D30B0#4D30B0

#4D30B0 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.9% C 0.190 H 285.6°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#4D30B0
RGBrgb(77, 48, 176)
HSLhsl(254, 57%, 44%)
HSVhsv(254, 73%, 69%)
CMYKcmyk(56.2%, 72.7%, 0%, 31%)
CIE-LABlab(31.41, 46.16, -63.57)
CIE-LCHlch(31.41, 78.56, 305.98°)
OKLaboklab(42.9% 0.051 -0.1829)
OKLCHoklch(42.9% 0.19 285.6)
XYZxyz(11.9516, 6.8256, 41.7536)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D30B0 #93B030
analogous
#3053B0 #4D30B0 #8D30B0
triadic
#4D30B0 #B04D30 #30B04D
tetradic
#4D30B0 #B03053 #93B030 #30B08D
square
#4D30B0 #B03053 #93B030 #30B08D
split-complementary
#4D30B0 #B08D30 #53B030
monochromatic
#231650 #382380 #4D30B0 #6B4ECF #947EDC

Accessibility & contrast

On white

8.88
#4D30B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#4D30B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D30B0
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D30B0#FFFFFF#000000##FFFFFF
##4D30B01.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB4
Deuteranopia (green-blind)
#0046AE
Tritanopia (blue-blind)
#1E536D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4d30b0;
/* rgb */ color: rgb(77, 48, 176);
/* oklch */ color: oklch(42.9% 0.190 285.6);
Tailwind
colors: {
  custom: {
    50: '#8a6bc9',
    500: '#4d30b0',
    950: '#000000',
  },
}
SCSS
$custom: #4d30b0;
$custom-light: #8a6bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d30b0",
  "rgb": {
    "r": 77,
    "g": 48,
    "b": 176
  },
  "hsl": {
    "h": 253.594,
    "s": 57.143,
    "l": 43.922
  },
  "oklch": {
    "l": 0.42898,
    "c": 0.18992,
    "h": 285.6
  },
  "luminance": 0.06826
}

Semantic roles & 50–950 ramp

primary
#4D30B0
secondary
#B3C577
accent
#E047BE
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4D30B0

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

Preview Lab → · Contrast checker → · Palette generator →

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