#4730AA#4730AA

#4730AA is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.8% C 0.183 H 283.8°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#4730AA
RGBrgb(71, 48, 170)
HSLhsl(251, 56%, 43%)
HSVhsv(251, 72%, 67%)
CMYKcmyk(58.2%, 71.8%, 0%, 33.3%)
CIE-LABlab(30.29, 43.46, -61.83)
CIE-LCHlch(30.29, 75.57, 305.10°)
OKLaboklab(41.8% 0.0436 -0.178)
OKLCHoklch(41.8% 0.183 283.8)
XYZxyz(10.9090, 6.3551, 38.6742)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4730AA #93AA30
analogous
#3056AA #4730AA #8430AA
triadic
#4730AA #AA4730 #30AA47
tetradic
#4730AA #AA3056 #93AA30 #30AA84
square
#4730AA #AA3056 #93AA30 #30AA84
split-complementary
#4730AA #AA8430 #56AA30
monochromatic
#1F154B #33237A #4730AA #634BCC #8D7BDA

Accessibility & contrast

On white

9.25
#4730AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#4730AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4730AA#FFFFFF#000000##FFFFFF
##4730AA1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAE
Deuteranopia (green-blind)
#0043A8
Tritanopia (blue-blind)
#10516A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4730aa;
/* rgb */ color: rgb(71, 48, 170);
/* oklch */ color: oklch(41.8% 0.183 283.8);
Tailwind
colors: {
  custom: {
    50: '#856bc4',
    500: '#4730aa',
    950: '#000000',
  },
}
SCSS
$custom: #4730aa;
$custom-light: #856bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#4730aa",
  "rgb": {
    "r": 71,
    "g": 48,
    "b": 170
  },
  "hsl": {
    "h": 251.311,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.41801,
    "c": 0.18329,
    "h": 283.8
  },
  "luminance": 0.06356
}

Semantic roles & 50–950 ramp

primary
#4730AA
secondary
#B3C274
accent
#DF49C3
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4730AA

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

Preview Lab → · Contrast checker → · Palette generator →

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