#4730A5#4730A5

#4730A5 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.3% C 0.177 H 284.6°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#4730A5
RGBrgb(71, 48, 165)
HSLhsl(252, 55%, 42%)
HSVhsv(252, 71%, 65%)
CMYKcmyk(57%, 70.9%, 0%, 35.3%)
CIE-LABlab(29.84, 41.92, -59.56)
CIE-LCHlch(29.84, 72.84, 305.14°)
OKLaboklab(41.34% 0.0446 -0.1714)
OKLCHoklch(41.34% 0.177 284.6)
XYZxyz(10.4449, 6.1695, 36.2305)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4730A5 #8EA530
analogous
#3054A5 #4730A5 #8230A5
triadic
#4730A5 #A54730 #30A547
tetradic
#4730A5 #A53054 #8EA530 #30A582
square
#4730A5 #A53054 #8EA530 #30A582
split-complementary
#4730A5 #A58230 #54A530
monochromatic
#1E1446 #332276 #4730A5 #6248CA #8B78D8

Accessibility & contrast

On white

9.40
#4730A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#4730A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4730A5
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4730A5#FFFFFF#000000##FFFFFF
##4730A51.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA9
Deuteranopia (green-blind)
#0043A3
Tritanopia (blue-blind)
#194F67
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4730a5;
/* rgb */ color: rgb(71, 48, 165);
/* oklch */ color: oklch(41.3% 0.177 284.6);
Tailwind
colors: {
  custom: {
    50: '#846ac1',
    500: '#4730a5',
    950: '#000000',
  },
}
SCSS
$custom: #4730a5;
$custom-light: #846ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#4730a5",
  "rgb": {
    "r": 71,
    "g": 48,
    "b": 165
  },
  "hsl": {
    "h": 251.795,
    "s": 54.93,
    "l": 41.765
  },
  "oklch": {
    "l": 0.41337,
    "c": 0.1771,
    "h": 284.6
  },
  "luminance": 0.0617
}

Semantic roles & 50–950 ramp

primary
#4730A5
secondary
#B0C071
accent
#DE4AC1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4730A5

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

Preview Lab → · Contrast checker → · Palette generator →

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