#4C30AF#4C30AF

#4C30AF is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.7% C 0.189 H 285.3°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#4C30AF
RGBrgb(76, 48, 175)
HSLhsl(253, 57%, 44%)
HSVhsv(253, 73%, 69%)
CMYKcmyk(56.6%, 72.6%, 0%, 31.4%)
CIE-LABlab(31.22, 45.71, -63.28)
CIE-LCHlch(31.22, 78.06, 305.84°)
OKLaboklab(42.71% 0.0498 -0.1821)
OKLCHoklch(42.71% 0.189 285.3)
XYZxyz(11.7730, 6.7449, 41.2307)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C30AF #93AF30
analogous
#3053AF #4C30AF #8B30AF
triadic
#4C30AF #AF4C30 #30AF4C
tetradic
#4C30AF #AF3053 #93AF30 #30AF8B
square
#4C30AF #AF3053 #93AF30 #30AF8B
split-complementary
#4C30AF #AF8B30 #53AF30
monochromatic
#22164F #37237F #4C30AF #6A4ECE #927EDC

Accessibility & contrast

On white

8.94
#4C30AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#4C30AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C30AF
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C30AF#FFFFFF#000000##FFFFFF
##4C30AF1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB3
Deuteranopia (green-blind)
#0046AD
Tritanopia (blue-blind)
#1C526C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4c30af;
/* rgb */ color: rgb(76, 48, 175);
/* oklch */ color: oklch(42.7% 0.189 285.3);
Tailwind
colors: {
  custom: {
    50: '#896bc8',
    500: '#4c30af',
    950: '#000000',
  },
}
SCSS
$custom: #4c30af;
$custom-light: #896bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#4c30af",
  "rgb": {
    "r": 76,
    "g": 48,
    "b": 175
  },
  "hsl": {
    "h": 253.228,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42714,
    "c": 0.18881,
    "h": 285.3
  },
  "luminance": 0.06746
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4C30AF

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

Preview Lab → · Contrast checker → · Palette generator →

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