#4C30B0#4C30B0

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

Color values

HEX#4C30B0
RGBrgb(76, 48, 176)
HSLhsl(253, 57%, 44%)
HSVhsv(253, 73%, 69%)
CMYKcmyk(56.8%, 72.7%, 0%, 31%)
CIE-LABlab(31.31, 46.01, -63.73)
CIE-LCHlch(31.31, 78.60, 305.83°)
OKLaboklab(42.81% 0.0495 -0.1834)
OKLCHoklch(42.81% 0.19 285.1)
XYZxyz(11.8715, 6.7843, 41.7498)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C30B0 #94B030
analogous
#3054B0 #4C30B0 #8C30B0
triadic
#4C30B0 #B04C30 #30B04C
tetradic
#4C30B0 #B03054 #94B030 #30B08C
square
#4C30B0 #B03054 #94B030 #30B08C
split-complementary
#4C30B0 #B08C30 #54B030
monochromatic
#221650 #372380 #4C30B0 #6A4ECF #937EDC

Accessibility & contrast

On white

8.91
#4C30B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#4C30B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C30B0
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C30B0#FFFFFF#000000##FFFFFF
##4C30B01.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c30b0;
/* rgb */ color: rgb(76, 48, 176);
/* oklch */ color: oklch(42.8% 0.190 285.1);
Tailwind
colors: {
  custom: {
    50: '#896bc9',
    500: '#4c30b0',
    950: '#000000',
  },
}
SCSS
$custom: #4c30b0;
$custom-light: #896bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#4c30b0",
  "rgb": {
    "r": 76,
    "g": 48,
    "b": 176
  },
  "hsl": {
    "h": 253.125,
    "s": 57.143,
    "l": 43.922
  },
  "oklch": {
    "l": 0.42807,
    "c": 0.19001,
    "h": 285.1
  },
  "luminance": 0.06785
}

Semantic roles & 50–950 ramp

primary
#4C30B0
secondary
#B4C577
accent
#E047BF
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4C30B0

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

Preview Lab → · Contrast checker → · Palette generator →

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