#4730AC#4730AC

#4730AC is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.0% C 0.186 H 283.4°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#4730AC
RGBrgb(71, 48, 172)
HSLhsl(251, 56%, 43%)
HSVhsv(251, 72%, 67%)
CMYKcmyk(58.7%, 72.1%, 0%, 32.5%)
CIE-LABlab(30.48, 44.07, -62.72)
CIE-LCHlch(30.48, 76.66, 305.09°)
OKLaboklab(41.99% 0.0432 -0.1807)
OKLCHoklch(41.99% 0.186 283.4)
XYZxyz(11.0996, 6.4313, 39.6782)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4730AC #95AC30
analogous
#3057AC #4730AC #8530AC
triadic
#4730AC #AC4730 #30AC47
tetradic
#4730AC #AC3057 #95AC30 #30AC85
square
#4730AC #AC3057 #95AC30 #30AC85
split-complementary
#4730AC #AC8530 #57AC30
monochromatic
#1F154C #33237C #4730AC #644CCD #8D7CDA

Accessibility & contrast

On white

9.18
#4730AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4730AC
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4730AC#FFFFFF#000000##FFFFFF
##4730AC1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4730ac;
/* rgb */ color: rgb(71, 48, 172);
/* oklch */ color: oklch(42.0% 0.186 283.4);
Tailwind
colors: {
  custom: {
    50: '#866bc6',
    500: '#4730ac',
    950: '#000000',
  },
}
SCSS
$custom: #4730ac;
$custom-light: #866bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#4730ac",
  "rgb": {
    "r": 71,
    "g": 48,
    "b": 172
  },
  "hsl": {
    "h": 251.129,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.41988,
    "c": 0.18575,
    "h": 283.4
  },
  "luminance": 0.06432
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4730AC

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

Preview Lab → · Contrast checker → · Palette generator →

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