#4730B6#4730B6

#4730B6 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.9% C 0.198 H 282.0°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#4730B6
RGBrgb(71, 48, 182)
HSLhsl(250, 58%, 45%)
HSVhsv(250, 74%, 71%)
CMYKcmyk(61%, 73.6%, 0%, 28.6%)
CIE-LABlab(31.42, 47.12, -67.14)
CIE-LCHlch(31.42, 82.03, 305.06°)
OKLaboklab(42.94% 0.041 -0.1936)
OKLCHoklch(42.94% 0.198 282)
XYZxyz(12.0963, 6.8300, 44.9278)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4730B6 #9FB630
analogous
#305CB6 #4730B6 #8A30B6
triadic
#4730B6 #B64730 #30B647
tetradic
#4730B6 #B6305C #9FB630 #30B68A
square
#4730B6 #B6305C #9FB630 #30B68A
split-complementary
#4730B6 #B68A30 #5CB630
monochromatic
#211655 #342386 #4730B6 #6852D1 #9282DE

Accessibility & contrast

On white

8.87
#4730B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#4730B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4730B6#FFFFFF#000000##FFFFFF
##4730B61.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4730b6;
/* rgb */ color: rgb(71, 48, 182);
/* oklch */ color: oklch(42.9% 0.198 282.0);
Tailwind
colors: {
  custom: {
    50: '#876bcd',
    500: '#4730b6',
    950: '#000000',
  },
}
SCSS
$custom: #4730b6;
$custom-light: #876bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#4730b6",
  "rgb": {
    "r": 71,
    "g": 48,
    "b": 182
  },
  "hsl": {
    "h": 250.299,
    "s": 58.261,
    "l": 45.098
  },
  "oklch": {
    "l": 0.42942,
    "c": 0.19789,
    "h": 282
  },
  "luminance": 0.06831
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4730B6

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

Preview Lab → · Contrast checker → · Palette generator →

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