#4730B8#4730B8

#4730B8 is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.1% C 0.200 H 281.7°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#4730B8
RGBrgb(71, 48, 184)
HSLhsl(250, 59%, 45%)
HSVhsv(250, 74%, 72%)
CMYKcmyk(61.4%, 73.9%, 0%, 27.8%)
CIE-LABlab(31.61, 47.73, -68.01)
CIE-LCHlch(31.61, 83.09, 305.06°)
OKLaboklab(43.14% 0.0406 -0.1961)
OKLCHoklch(43.14% 0.2 281.7)
XYZxyz(12.3045, 6.9133, 46.0241)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4730B8 #A1B830
analogous
#305DB8 #4730B8 #8B30B8
triadic
#4730B8 #B84730 #30B847
tetradic
#4730B8 #B8305D #A1B830 #30B88B
square
#4730B8 #B8305D #A1B830 #30B88B
split-complementary
#4730B8 #B88B30 #5DB830
monochromatic
#221757 #342387 #4730B8 #6953D2 #9384DF

Accessibility & contrast

On white

8.81
#4730B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#4730B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4730B8
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4730B8#FFFFFF#000000##FFFFFF
##4730B81.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBC
Deuteranopia (green-blind)
#0045B6
Tritanopia (blue-blind)
#005671
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4730b8;
/* rgb */ color: rgb(71, 48, 184);
/* oklch */ color: oklch(43.1% 0.200 281.7);
Tailwind
colors: {
  custom: {
    50: '#886bcf',
    500: '#4730b8',
    950: '#000000',
  },
}
SCSS
$custom: #4730b8;
$custom-light: #886bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#4730b8",
  "rgb": {
    "r": 71,
    "g": 48,
    "b": 184
  },
  "hsl": {
    "h": 250.147,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.43135,
    "c": 0.20028,
    "h": 281.7
  },
  "luminance": 0.06914
}

Semantic roles & 50–950 ramp

primary
#4730B8
secondary
#BBC87C
accent
#E246C7
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4730B8

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

Preview Lab → · Contrast checker → · Palette generator →

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