#4730B2#4730B2

#4730B2 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.6% C 0.193 H 282.5°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#4730B2
RGBrgb(71, 48, 178)
HSLhsl(251, 58%, 44%)
HSVhsv(251, 73%, 70%)
CMYKcmyk(60.1%, 73%, 0%, 30.2%)
CIE-LABlab(31.04, 45.90, -65.39)
CIE-LCHlch(31.04, 79.89, 305.07°)
OKLaboklab(42.56% 0.0419 -0.1885)
OKLCHoklch(42.56% 0.193 282.5)
XYZxyz(11.6889, 6.6671, 42.7818)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4730B2 #9BB230
analogous
#305AB2 #4730B2 #8830B2
triadic
#4730B2 #B24730 #30B247
tetradic
#4730B2 #B2305A #9BB230 #30B288
square
#4730B2 #B2305A #9BB230 #30B288
split-complementary
#4730B2 #B28830 #5AB230
monochromatic
#211652 #342382 #4730B2 #6650D0 #9080DD

Accessibility & contrast

On white

9.00
#4730B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##4730B2#FFFFFF#000000##FFFFFF
##4730B21.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB6
Deuteranopia (green-blind)
#0044B0
Tritanopia (blue-blind)
#00546E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4730b2;
/* rgb */ color: rgb(71, 48, 178);
/* oklch */ color: oklch(42.6% 0.193 282.5);
Tailwind
colors: {
  custom: {
    50: '#876bca',
    500: '#4730b2',
    950: '#000000',
  },
}
SCSS
$custom: #4730b2;
$custom-light: #876bca;
$custom-dark: #000000;
JSON
{
  "hex": "#4730b2",
  "rgb": {
    "r": 71,
    "g": 48,
    "b": 178
  },
  "hsl": {
    "h": 250.615,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.42557,
    "c": 0.19307,
    "h": 282.5
  },
  "luminance": 0.06668
}

Semantic roles & 50–950 ramp

primary
#4730B2
secondary
#B8C678
accent
#E147C6
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4730B2

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

Preview Lab → · Contrast checker → · Palette generator →

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