#4730B1#4730B1

#4730B1 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.5% C 0.192 H 282.7°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#4730B1
RGBrgb(71, 48, 177)
HSLhsl(251, 57%, 44%)
HSVhsv(251, 73%, 69%)
CMYKcmyk(59.9%, 72.9%, 0%, 30.6%)
CIE-LABlab(30.94, 45.60, -64.95)
CIE-LCHlch(30.94, 79.36, 305.07°)
OKLaboklab(42.46% 0.0421 -0.1872)
OKLCHoklch(42.46% 0.192 282.7)
XYZxyz(11.5888, 6.6270, 42.2549)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4730B1 #9AB130
analogous
#305AB1 #4730B1 #8830B1
triadic
#4730B1 #B14730 #30B147
tetradic
#4730B1 #B1305A #9AB130 #30B188
square
#4730B1 #B1305A #9AB130 #30B188
split-complementary
#4730B1 #B18830 #5AB130
monochromatic
#201651 #342381 #4730B1 #664FCF #907FDC

Accessibility & contrast

On white

9.03
#4730B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#4730B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4730B1#FFFFFF#000000##FFFFFF
##4730B11.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB5
Deuteranopia (green-blind)
#0044AF
Tritanopia (blue-blind)
#00536D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4730b1;
/* rgb */ color: rgb(71, 48, 177);
/* oklch */ color: oklch(42.5% 0.192 282.7);
Tailwind
colors: {
  custom: {
    50: '#876bc9',
    500: '#4730b1',
    950: '#000000',
  },
}
SCSS
$custom: #4730b1;
$custom-light: #876bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#4730b1",
  "rgb": {
    "r": 71,
    "g": 48,
    "b": 177
  },
  "hsl": {
    "h": 250.698,
    "s": 57.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42462,
    "c": 0.19185,
    "h": 282.7
  },
  "luminance": 0.06628
}

Semantic roles & 50–950 ramp

primary
#4730B1
secondary
#B7C578
accent
#E147C5
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4730B1

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

Preview Lab → · Contrast checker → · Palette generator →

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