#4C30AE#4C30AE

#4C30AE is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.6% C 0.188 H 285.5°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#4C30AE
RGBrgb(76, 48, 174)
HSLhsl(253, 57%, 44%)
HSVhsv(253, 72%, 68%)
CMYKcmyk(56.3%, 72.4%, 0%, 31.8%)
CIE-LABlab(31.13, 45.41, -62.83)
CIE-LCHlch(31.13, 77.53, 305.86°)
OKLaboklab(42.62% 0.05 -0.1808)
OKLCHoklch(42.62% 0.188 285.5)
XYZxyz(11.6751, 6.7057, 40.7153)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C30AE #92AE30
analogous
#3053AE #4C30AE #8B30AE
triadic
#4C30AE #AE4C30 #30AE4C
tetradic
#4C30AE #AE3053 #92AE30 #30AE8B
square
#4C30AE #AE3053 #92AE30 #30AE8B
split-complementary
#4C30AE #AE8B30 #53AE30
monochromatic
#22164E #37237E #4C30AE #6A4DCE #927DDB

Accessibility & contrast

On white

8.97
#4C30AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#4C30AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C30AE
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C30AE#FFFFFF#000000##FFFFFF
##4C30AE1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB2
Deuteranopia (green-blind)
#0045AC
Tritanopia (blue-blind)
#1E526C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4c30ae;
/* rgb */ color: rgb(76, 48, 174);
/* oklch */ color: oklch(42.6% 0.188 285.5);
Tailwind
colors: {
  custom: {
    50: '#896bc7',
    500: '#4c30ae',
    950: '#000000',
  },
}
SCSS
$custom: #4c30ae;
$custom-light: #896bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#4c30ae",
  "rgb": {
    "r": 76,
    "g": 48,
    "b": 174
  },
  "hsl": {
    "h": 253.333,
    "s": 56.757,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42621,
    "c": 0.1876,
    "h": 285.5
  },
  "luminance": 0.06706
}

Semantic roles & 50–950 ramp

primary
#4C30AE
secondary
#B3C476
accent
#E048BE
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0713
muted
#7D7A82

Preview Lab

Preview with #4C30AE

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

Preview Lab → · Contrast checker → · Palette generator →

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