#4C30C0#4C30C0

#4C30C0 is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.3% C 0.209 H 282.7°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#4C30C0
RGBrgb(76, 48, 192)
HSLhsl(252, 60%, 47%)
HSVhsv(252, 75%, 75%)
CMYKcmyk(60.4%, 75%, 0%, 24.7%)
CIE-LABlab(32.82, 50.75, -70.72)
CIE-LCHlch(32.82, 87.05, 305.66°)
OKLaboklab(44.33% 0.0458 -0.2039)
OKLCHoklch(44.33% 0.209 282.7)
XYZxyz(13.5489, 7.4552, 50.5840)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C30C0 #A4C030
analogous
#305CC0 #4C30C0 #9430C0
triadic
#4C30C0 #C04C30 #30C04C
tetradic
#4C30C0 #C0305C #A4C030 #30C094
square
#4C30C0 #C0305C #A4C030 #30C094
split-complementary
#4C30C0 #C09430 #5CC030
monochromatic
#25185E #39248F #4C30C0 #7058D5 #9A89E1

Accessibility & contrast

On white

8.43
#4C30C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#4C30C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C30C0
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C30C0#FFFFFF#000000##FFFFFF
##4C30C01.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C4
Deuteranopia (green-blind)
#0048BD
Tritanopia (blue-blind)
#005976
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4c30c0;
/* rgb */ color: rgb(76, 48, 192);
/* oklch */ color: oklch(44.3% 0.209 282.7);
Tailwind
colors: {
  custom: {
    50: '#8c6cd4',
    500: '#4c30c0',
    950: '#000000',
  },
}
SCSS
$custom: #4c30c0;
$custom-light: #8c6cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#4c30c0",
  "rgb": {
    "r": 76,
    "g": 48,
    "b": 192
  },
  "hsl": {
    "h": 251.667,
    "s": 60,
    "l": 47.059
  },
  "oklch": {
    "l": 0.44332,
    "c": 0.20898,
    "h": 282.7
  },
  "luminance": 0.07456
}

Semantic roles & 50–950 ramp

primary
#4C30C0
secondary
#BDCB80
accent
#E345C4
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4C30C0

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

Preview Lab → · Contrast checker → · Palette generator →

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