#4732AF#4732AF

#4732AF is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.6% C 0.187 H 282.7°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#4732AF
RGBrgb(71, 50, 175)
HSLhsl(250, 56%, 44%)
HSVhsv(250, 71%, 69%)
CMYKcmyk(59.4%, 71.4%, 0%, 31.4%)
CIE-LABlab(31.15, 43.89, -63.41)
CIE-LCHlch(31.15, 77.12, 304.69°)
OKLaboklab(42.55% 0.041 -0.1827)
OKLCHoklch(42.55% 0.187 282.7)
XYZxyz(11.4746, 6.7152, 41.2406)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4732AF #9AAF32
analogous
#325CAF #4732AF #8632AF
triadic
#4732AF #AF4732 #32AF47
tetradic
#4732AF #AF325C #9AAF32 #32AF86
square
#4732AF #AF325C #9AAF32 #32AF86
split-complementary
#4732AF #AF8632 #5CAF32
monochromatic
#201750 #34247F #4732AF #6651CD #9081DB

Accessibility & contrast

On white

8.96
#4732AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#4732AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4732AF
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4732AF#FFFFFF#000000##FFFFFF
##4732AF1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB3
Deuteranopia (green-blind)
#0045AD
Tritanopia (blue-blind)
#00546D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4732af;
/* rgb */ color: rgb(71, 50, 175);
/* oklch */ color: oklch(42.6% 0.187 282.7);
Tailwind
colors: {
  custom: {
    50: '#866cc8',
    500: '#4732af',
    950: '#000000',
  },
}
SCSS
$custom: #4732af;
$custom-light: #866cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#4732af",
  "rgb": {
    "r": 71,
    "g": 50,
    "b": 175
  },
  "hsl": {
    "h": 250.08,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42552,
    "c": 0.18723,
    "h": 282.7
  },
  "luminance": 0.06716
}

Semantic roles & 50–950 ramp

primary
#4732AF
secondary
#B7C479
accent
#DF49C6
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4732AF

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

Preview Lab → · Contrast checker → · Palette generator →

#4732AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva