#4730AE#4730AE

#4730AE is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.2% C 0.188 H 283.1°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#4730AE
RGBrgb(71, 48, 174)
HSLhsl(251, 57%, 44%)
HSVhsv(251, 72%, 68%)
CMYKcmyk(59.2%, 72.4%, 0%, 31.8%)
CIE-LABlab(30.66, 44.68, -63.62)
CIE-LCHlch(30.66, 77.74, 305.08°)
OKLaboklab(42.18% 0.0428 -0.1833)
OKLCHoklch(42.18% 0.188 283.1)
XYZxyz(11.2931, 6.5088, 40.6974)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4730AE #97AE30
analogous
#3058AE #4730AE #8630AE
triadic
#4730AE #AE4730 #30AE47
tetradic
#4730AE #AE3058 #97AE30 #30AE86
square
#4730AE #AE3058 #97AE30 #30AE86
split-complementary
#4730AE #AE8630 #58AE30
monochromatic
#20164E #33237E #4730AE #654DCE #8E7DDB

Accessibility & contrast

On white

9.12
#4730AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#4730AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4730AE
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4730AE#FFFFFF#000000##FFFFFF
##4730AE1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB2
Deuteranopia (green-blind)
#0044AC
Tritanopia (blue-blind)
#04526C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4730ae;
/* rgb */ color: rgb(71, 48, 174);
/* oklch */ color: oklch(42.2% 0.188 283.1);
Tailwind
colors: {
  custom: {
    50: '#866bc7',
    500: '#4730ae',
    950: '#000000',
  },
}
SCSS
$custom: #4730ae;
$custom-light: #866bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#4730ae",
  "rgb": {
    "r": 71,
    "g": 48,
    "b": 174
  },
  "hsl": {
    "h": 250.952,
    "s": 56.757,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42177,
    "c": 0.18819,
    "h": 283.1
  },
  "luminance": 0.06509
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4730AE

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

Preview Lab → · Contrast checker → · Palette generator →

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