#4C30A2#4C30A2

#4C30A2 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.5% C 0.173 H 287.6°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#4C30A2
RGBrgb(76, 48, 162)
HSLhsl(255, 54%, 41%)
HSVhsv(255, 70%, 64%)
CMYKcmyk(53.1%, 70.4%, 0%, 36.5%)
CIE-LABlab(30.06, 41.83, -57.37)
CIE-LCHlch(30.06, 71.00, 306.10°)
OKLaboklab(41.53% 0.0524 -0.1648)
OKLCHoklch(41.53% 0.173 287.6)
XYZxyz(10.5571, 6.2585, 34.8272)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C30A2 #86A230
analogous
#304DA2 #4C30A2 #8530A2
triadic
#4C30A2 #A24C30 #30A24C
tetradic
#4C30A2 #A2304D #86A230 #30A285
square
#4C30A2 #A2304D #86A230 #30A285
split-complementary
#4C30A2 #A28530 #4DA230
monochromatic
#201444 #362273 #4C30A2 #6747C8 #8E76D6

Accessibility & contrast

On white

9.33
#4C30A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#4C30A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C30A2
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C30A2#FFFFFF#000000##FFFFFF
##4C30A21.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A5
Deuteranopia (green-blind)
#0044A0
Tritanopia (blue-blind)
#2B4D65
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4c30a2;
/* rgb */ color: rgb(76, 48, 162);
/* oklch */ color: oklch(41.5% 0.173 287.6);
Tailwind
colors: {
  custom: {
    50: '#876bbe',
    500: '#4c30a2',
    950: '#000000',
  },
}
SCSS
$custom: #4c30a2;
$custom-light: #876bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#4c30a2",
  "rgb": {
    "r": 76,
    "g": 48,
    "b": 162
  },
  "hsl": {
    "h": 254.737,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.41529,
    "c": 0.17293,
    "h": 287.6
  },
  "luminance": 0.06259
}

Semantic roles & 50–950 ramp

primary
#4C30A2
secondary
#ABBE6F
accent
#DE4AB9
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4C30A2

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

Preview Lab → · Contrast checker → · Palette generator →

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