#4730B5#4730B5

#4730B5 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.8% C 0.197 H 282.1°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#4730B5
RGBrgb(71, 48, 181)
HSLhsl(250, 58%, 45%)
HSVhsv(250, 73%, 71%)
CMYKcmyk(60.8%, 73.5%, 0%, 29%)
CIE-LABlab(31.32, 46.82, -66.71)
CIE-LCHlch(31.32, 81.49, 305.06°)
OKLaboklab(42.85% 0.0413 -0.1923)
OKLCHoklch(42.85% 0.197 282.1)
XYZxyz(11.9934, 6.7889, 44.3855)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4730B5 #9EB530
analogous
#305BB5 #4730B5 #8A30B5
triadic
#4730B5 #B54730 #30B547
tetradic
#4730B5 #B5305B #9EB530 #30B58A
square
#4730B5 #B5305B #9EB530 #30B58A
split-complementary
#4730B5 #B58A30 #5BB530
monochromatic
#211654 #342385 #4730B5 #6751D1 #9282DE

Accessibility & contrast

On white

8.91
#4730B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#4730B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4730B5#FFFFFF#000000##FFFFFF
##4730B51.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB9
Deuteranopia (green-blind)
#0045B3
Tritanopia (blue-blind)
#005570
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4730b5;
/* rgb */ color: rgb(71, 48, 181);
/* oklch */ color: oklch(42.8% 0.197 282.1);
Tailwind
colors: {
  custom: {
    50: '#876bcc',
    500: '#4730b5',
    950: '#000000',
  },
}
SCSS
$custom: #4730b5;
$custom-light: #876bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#4730b5",
  "rgb": {
    "r": 71,
    "g": 48,
    "b": 181
  },
  "hsl": {
    "h": 250.376,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.42845,
    "c": 0.19669,
    "h": 282.1
  },
  "luminance": 0.0679
}

Semantic roles & 50–950 ramp

primary
#4730B5
secondary
#BAC77A
accent
#E146C7
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0714
muted
#7D7A82

Preview Lab

Preview with #4730B5

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

Preview Lab → · Contrast checker → · Palette generator →

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