#4730B3#4730B3

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

Color values

HEX#4730B3
RGBrgb(71, 48, 179)
HSLhsl(251, 58%, 45%)
HSVhsv(251, 73%, 70%)
CMYKcmyk(60.3%, 73.2%, 0%, 29.8%)
CIE-LABlab(31.13, 46.21, -65.83)
CIE-LCHlch(31.13, 80.43, 305.07°)
OKLaboklab(42.65% 0.0417 -0.1897)
OKLCHoklch(42.65% 0.194 282.4)
XYZxyz(11.7896, 6.7074, 43.3125)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4730B3 #9CB330
analogous
#305BB3 #4730B3 #8830B3
triadic
#4730B3 #B34730 #30B347
tetradic
#4730B3 #B3305B #9CB330 #30B388
square
#4730B3 #B3305B #9CB330 #30B388
split-complementary
#4730B3 #B38830 #5BB330
monochromatic
#211652 #342383 #4730B3 #6750D0 #9180DD

Accessibility & contrast

On white

8.97
#4730B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#4730B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4730B3
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4730B3#FFFFFF#000000##FFFFFF
##4730B31.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB7
Deuteranopia (green-blind)
#0045B1
Tritanopia (blue-blind)
#00546F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4730b3;
/* rgb */ color: rgb(71, 48, 179);
/* oklch */ color: oklch(42.7% 0.194 282.4);
Tailwind
colors: {
  custom: {
    50: '#876bcb',
    500: '#4730b3',
    950: '#000000',
  },
}
SCSS
$custom: #4730b3;
$custom-light: #876bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#4730b3",
  "rgb": {
    "r": 71,
    "g": 48,
    "b": 179
  },
  "hsl": {
    "h": 250.534,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42653,
    "c": 0.19427,
    "h": 282.4
  },
  "luminance": 0.06708
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4730B3

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

Preview Lab → · Contrast checker → · Palette generator →

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