#4D30B3#4D30B3

#4D30B3 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.2% C 0.194 H 285.1°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#4D30B3
RGBrgb(77, 48, 179)
HSLhsl(253, 58%, 45%)
HSVhsv(253, 73%, 70%)
CMYKcmyk(57%, 73.2%, 0%, 29.8%)
CIE-LABlab(31.68, 47.05, -64.90)
CIE-LCHlch(31.68, 80.16, 305.94°)
OKLaboklab(43.18% 0.0503 -0.1868)
OKLCHoklch(43.18% 0.194 285.1)
XYZxyz(12.2517, 6.9456, 43.3341)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D30B3 #96B330
analogous
#3055B3 #4D30B3 #8E30B3
triadic
#4D30B3 #B34D30 #30B34D
tetradic
#4D30B3 #B33055 #96B330 #30B38E
square
#4D30B3 #B33055 #96B330 #30B38E
split-complementary
#4D30B3 #B38E30 #55B330
monochromatic
#231652 #382383 #4D30B3 #6C50D0 #9580DD

Accessibility & contrast

On white

8.79
#4D30B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#4D30B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D30B3
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D30B3#FFFFFF#000000##FFFFFF
##4D30B31.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB7
Deuteranopia (green-blind)
#0046B1
Tritanopia (blue-blind)
#1A546F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4d30b3;
/* rgb */ color: rgb(77, 48, 179);
/* oklch */ color: oklch(43.2% 0.194 285.1);
Tailwind
colors: {
  custom: {
    50: '#8a6bcb',
    500: '#4d30b3',
    950: '#000000',
  },
}
SCSS
$custom: #4d30b3;
$custom-light: #8a6bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d30b3",
  "rgb": {
    "r": 77,
    "g": 48,
    "b": 179
  },
  "hsl": {
    "h": 253.282,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43178,
    "c": 0.19351,
    "h": 285.1
  },
  "luminance": 0.06946
}

Semantic roles & 50–950 ramp

primary
#4D30B3
secondary
#B5C679
accent
#E147BF
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4D30B3

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

Preview Lab → · Contrast checker → · Palette generator →

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