#4730B4#4730B4

#4730B4 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.7% C 0.195 H 282.3°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#4730B4
RGBrgb(71, 48, 180)
HSLhsl(250, 58%, 45%)
HSVhsv(250, 73%, 71%)
CMYKcmyk(60.6%, 73.3%, 0%, 29.4%)
CIE-LABlab(31.23, 46.51, -66.27)
CIE-LCHlch(31.23, 80.96, 305.06°)
OKLaboklab(42.75% 0.0415 -0.191)
OKLCHoklch(42.75% 0.195 282.3)
XYZxyz(11.8911, 6.7480, 43.8470)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4730B4 #9DB430
analogous
#305BB4 #4730B4 #8930B4
triadic
#4730B4 #B44730 #30B447
tetradic
#4730B4 #B4305B #9DB430 #30B489
square
#4730B4 #B4305B #9DB430 #30B489
split-complementary
#4730B4 #B48930 #5BB430
monochromatic
#211653 #342384 #4730B4 #6751D1 #9181DD

Accessibility & contrast

On white

8.94
#4730B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#4730B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4730B4#FFFFFF#000000##FFFFFF
##4730B41.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB8
Deuteranopia (green-blind)
#0045B2
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4730b4;
/* rgb */ color: rgb(71, 48, 180);
/* oklch */ color: oklch(42.7% 0.195 282.3);
Tailwind
colors: {
  custom: {
    50: '#876bcc',
    500: '#4730b4',
    950: '#000000',
  },
}
SCSS
$custom: #4730b4;
$custom-light: #876bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#4730b4",
  "rgb": {
    "r": 71,
    "g": 48,
    "b": 180
  },
  "hsl": {
    "h": 250.455,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42749,
    "c": 0.19548,
    "h": 282.3
  },
  "luminance": 0.06749
}

Semantic roles & 50–950 ramp

primary
#4730B4
secondary
#B9C679
accent
#E147C6
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0713
muted
#7D7A82

Preview Lab

Preview with #4730B4

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

Preview Lab → · Contrast checker → · Palette generator →

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