#4D30BE#4D30BE

#4D30BE is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.2% C 0.206 H 283.4°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#4D30BE
RGBrgb(77, 48, 190)
HSLhsl(252, 60%, 47%)
HSVhsv(252, 75%, 75%)
CMYKcmyk(59.5%, 74.7%, 0%, 25.5%)
CIE-LABlab(32.72, 50.29, -69.71)
CIE-LCHlch(32.72, 85.96, 305.81°)
OKLaboklab(44.22% 0.0477 -0.2009)
OKLCHoklch(44.22% 0.207 283.4)
XYZxyz(13.4089, 7.4085, 49.4286)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D30BE #A1BE30
analogous
#305ABE #4D30BE #9430BE
triadic
#4D30BE #BE4D30 #30BE4D
tetradic
#4D30BE #BE305A #A1BE30 #30BE94
square
#4D30BE #BE305A #A1BE30 #30BE94
split-complementary
#4D30BE #BE9430 #5ABE30
monochromatic
#25175C #39248D #4D30BE #7057D4 #9A88E1

Accessibility & contrast

On white

8.46
#4D30BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#4D30BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D30BE
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D30BE#FFFFFF#000000##FFFFFF
##4D30BE1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C2
Deuteranopia (green-blind)
#0048BB
Tritanopia (blue-blind)
#005875
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4d30be;
/* rgb */ color: rgb(77, 48, 190);
/* oklch */ color: oklch(44.2% 0.206 283.4);
Tailwind
colors: {
  custom: {
    50: '#8c6cd3',
    500: '#4d30be',
    950: '#000000',
  },
}
SCSS
$custom: #4d30be;
$custom-light: #8c6cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d30be",
  "rgb": {
    "r": 77,
    "g": 48,
    "b": 190
  },
  "hsl": {
    "h": 252.254,
    "s": 59.664,
    "l": 46.667
  },
  "oklch": {
    "l": 0.44225,
    "c": 0.2065,
    "h": 283.4
  },
  "luminance": 0.07409
}

Semantic roles & 50–950 ramp

primary
#4D30BE
secondary
#BBCB7F
accent
#E345C3
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4D30BE

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

Preview Lab → · Contrast checker → · Palette generator →

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