#4730BA#4730BA

#4730BA is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.3% C 0.203 H 281.4°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#4730BA
RGBrgb(71, 48, 186)
HSLhsl(250, 59%, 46%)
HSVhsv(250, 74%, 73%)
CMYKcmyk(61.8%, 74.2%, 0%, 27.1%)
CIE-LABlab(31.80, 48.33, -68.88)
CIE-LCHlch(31.80, 84.14, 305.06°)
OKLaboklab(43.33% 0.0401 -0.1987)
OKLCHoklch(43.33% 0.203 281.4)
XYZxyz(12.5156, 6.9978, 47.1360)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4730BA #A3BA30
analogous
#305EBA #4730BA #8C30BA
triadic
#4730BA #BA4730 #30BA47
tetradic
#4730BA #BA305E #A3BA30 #30BA8C
square
#4730BA #BA305E #A3BA30 #30BA8C
split-complementary
#4730BA #BA8C30 #5EBA30
monochromatic
#221759 #342389 #4730BA #6954D3 #9485DF

Accessibility & contrast

On white

8.75
#4730BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#4730BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4730BA
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4730BA#FFFFFF#000000##FFFFFF
##4730BA1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBE
Deuteranopia (green-blind)
#0046B7
Tritanopia (blue-blind)
#005773
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4730ba;
/* rgb */ color: rgb(71, 48, 186);
/* oklch */ color: oklch(43.3% 0.203 281.4);
Tailwind
colors: {
  custom: {
    50: '#886bd0',
    500: '#4730ba',
    950: '#000000',
  },
}
SCSS
$custom: #4730ba;
$custom-light: #886bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4730ba",
  "rgb": {
    "r": 71,
    "g": 48,
    "b": 186
  },
  "hsl": {
    "h": 250,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.4333,
    "c": 0.20267,
    "h": 281.4
  },
  "luminance": 0.06999
}

Semantic roles & 50–950 ramp

primary
#4730BA
secondary
#BCC97D
accent
#E246C8
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4730BA

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

Preview Lab → · Contrast checker → · Palette generator →

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