#4830AC#4830AC

#4830AC is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.1% C 0.186 H 283.9°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#4830AC
RGBrgb(72, 48, 172)
HSLhsl(252, 56%, 43%)
HSVhsv(252, 72%, 67%)
CMYKcmyk(58.1%, 72.1%, 0%, 32.5%)
CIE-LABlab(30.57, 44.22, -62.57)
CIE-LCHlch(30.57, 76.62, 305.25°)
OKLaboklab(42.08% 0.0446 -0.1802)
OKLCHoklch(42.08% 0.186 283.9)
XYZxyz(11.1735, 6.4695, 39.6817)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4830AC #94AC30
analogous
#3056AC #4830AC #8630AC
triadic
#4830AC #AC4830 #30AC48
tetradic
#4830AC #AC3056 #94AC30 #30AC86
square
#4830AC #AC3056 #94AC30 #30AC86
split-complementary
#4830AC #AC8630 #56AC30
monochromatic
#20154C #34237C #4830AC #654CCD #8E7CDA

Accessibility & contrast

On white

9.15
#4830AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#4830AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4830AC
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4830AC#FFFFFF#000000##FFFFFF
##4830AC1.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4830ac;
/* rgb */ color: rgb(72, 48, 172);
/* oklch */ color: oklch(42.1% 0.186 283.9);
Tailwind
colors: {
  custom: {
    50: '#866bc6',
    500: '#4830ac',
    950: '#000000',
  },
}
SCSS
$custom: #4830ac;
$custom-light: #866bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#4830ac",
  "rgb": {
    "r": 72,
    "g": 48,
    "b": 172
  },
  "hsl": {
    "h": 251.613,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.42076,
    "c": 0.18562,
    "h": 283.9
  },
  "luminance": 0.0647
}

Semantic roles & 50–950 ramp

primary
#4830AC
secondary
#B4C375
accent
#E048C2
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4830AC

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

Preview Lab → · Contrast checker → · Palette generator →

#4830AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva