#4C30D0#4C30D0

#4C30D0 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.9% C 0.227 H 280.6°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#4C30D0
RGBrgb(76, 48, 208)
HSLhsl(251, 63%, 50%)
HSVhsv(251, 77%, 82%)
CMYKcmyk(63.5%, 76.9%, 0%, 18.4%)
CIE-LABlab(34.40, 55.44, -77.46)
CIE-LCHlch(34.40, 95.26, 305.59°)
OKLaboklab(45.92% 0.0417 -0.2236)
OKLCHoklch(45.92% 0.227 280.6)
XYZxyz(15.4190, 8.2033, 60.4331)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C30D0 #B4D030
analogous
#3064D0 #4C30D0 #9C30D0
triadic
#4C30D0 #D04C30 #30D04C
tetradic
#4C30D0 #D03064 #B4D030 #30D09C
square
#4C30D0 #D03064 #B4D030 #30D09C
split-complementary
#4C30D0 #D09C30 #64D030
monochromatic
#27196D #3A249F #4C30D0 #7762DB #A294E7

Accessibility & contrast

On white

7.95
#4C30D0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#4C30D0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C30D0
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C30D0#FFFFFF#000000##FFFFFF
##4C30D01.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056D4
Deuteranopia (green-blind)
#004BCD
Tritanopia (blue-blind)
#005F7F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4c30d0;
/* rgb */ color: rgb(76, 48, 208);
/* oklch */ color: oklch(45.9% 0.227 280.6);
Tailwind
colors: {
  custom: {
    50: '#8f6de0',
    500: '#4c30d0',
    950: '#000000',
  },
}
SCSS
$custom: #4c30d0;
$custom-light: #8f6de0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c30d0",
  "rgb": {
    "r": 76,
    "g": 48,
    "b": 208
  },
  "hsl": {
    "h": 250.5,
    "s": 62.992,
    "l": 50.196
  },
  "oklch": {
    "l": 0.45915,
    "c": 0.22742,
    "h": 280.6
  },
  "luminance": 0.08204
}

Semantic roles & 50–950 ramp

primary
#4C30D0
secondary
#C5D28A
accent
#E642C9
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4C30D0

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

Preview Lab → · Contrast checker → · Palette generator →

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