#4A30AC#4A30AC

#4A30AC is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.3% C 0.185 H 284.8°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#4A30AC
RGBrgb(74, 48, 172)
HSLhsl(253, 56%, 43%)
HSVhsv(253, 72%, 67%)
CMYKcmyk(57%, 72.1%, 0%, 32.5%)
CIE-LABlab(30.75, 44.51, -62.26)
CIE-LCHlch(30.75, 76.53, 305.56°)
OKLaboklab(42.25% 0.0475 -0.1792)
OKLCHoklch(42.25% 0.185 284.8)
XYZxyz(11.3251, 6.5476, 39.6888)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A30AC #92AC30
analogous
#3054AC #4A30AC #8830AC
triadic
#4A30AC #AC4A30 #30AC4A
tetradic
#4A30AC #AC3054 #92AC30 #30AC88
square
#4A30AC #AC3054 #92AC30 #30AC88
split-complementary
#4A30AC #AC8830 #54AC30
monochromatic
#21154C #35237C #4A30AC #674CCD #907CDA

Accessibility & contrast

On white

9.09
#4A30AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#4A30AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A30AC
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A30AC#FFFFFF#000000##FFFFFF
##4A30AC1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB0
Deuteranopia (green-blind)
#0044AA
Tritanopia (blue-blind)
#19516B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4a30ac;
/* rgb */ color: rgb(74, 48, 172);
/* oklch */ color: oklch(42.3% 0.185 284.8);
Tailwind
colors: {
  custom: {
    50: '#876bc6',
    500: '#4a30ac',
    950: '#000000',
  },
}
SCSS
$custom: #4a30ac;
$custom-light: #876bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#4a30ac",
  "rgb": {
    "r": 74,
    "g": 48,
    "b": 172
  },
  "hsl": {
    "h": 252.581,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.42254,
    "c": 0.18538,
    "h": 284.8
  },
  "luminance": 0.06548
}

Semantic roles & 50–950 ramp

primary
#4A30AC
secondary
#B3C375
accent
#E048C0
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4A30AC

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

Preview Lab → · Contrast checker → · Palette generator →

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