#4A30AE#4A30AE

#4A30AE is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.4% C 0.188 H 284.5°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#4A30AE
RGBrgb(74, 48, 174)
HSLhsl(252, 57%, 44%)
HSVhsv(252, 72%, 68%)
CMYKcmyk(57.5%, 72.4%, 0%, 31.8%)
CIE-LABlab(30.94, 45.12, -63.15)
CIE-LCHlch(30.94, 77.61, 305.54°)
OKLaboklab(42.44% 0.0471 -0.1818)
OKLCHoklch(42.44% 0.188 284.5)
XYZxyz(11.5186, 6.6250, 40.7080)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A30AE #94AE30
analogous
#3055AE #4A30AE #8930AE
triadic
#4A30AE #AE4A30 #30AE4A
tetradic
#4A30AE #AE3055 #94AE30 #30AE89
square
#4A30AE #AE3055 #94AE30 #30AE89
split-complementary
#4A30AE #AE8930 #55AE30
monochromatic
#21164E #36237E #4A30AE #684DCE #917DDB

Accessibility & contrast

On white

9.03
#4A30AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#4A30AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A30AE
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A30AE#FFFFFF#000000##FFFFFF
##4A30AE1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB2
Deuteranopia (green-blind)
#0045AC
Tritanopia (blue-blind)
#16526C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4a30ae;
/* rgb */ color: rgb(74, 48, 174);
/* oklch */ color: oklch(42.4% 0.188 284.5);
Tailwind
colors: {
  custom: {
    50: '#886bc7',
    500: '#4a30ae',
    950: '#000000',
  },
}
SCSS
$custom: #4a30ae;
$custom-light: #886bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a30ae",
  "rgb": {
    "r": 74,
    "g": 48,
    "b": 174
  },
  "hsl": {
    "h": 252.381,
    "s": 56.757,
    "l": 43.529
  },
  "oklch": {
    "l": 0.4244,
    "c": 0.18782,
    "h": 284.5
  },
  "luminance": 0.06626
}

Semantic roles & 50–950 ramp

primary
#4A30AE
secondary
#B4C476
accent
#E048C1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4A30AE

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

Preview Lab → · Contrast checker → · Palette generator →

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