#4730AF#4730AF

#4730AF is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.3% C 0.189 H 283.0°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#4730AF
RGBrgb(71, 48, 175)
HSLhsl(251, 57%, 44%)
HSVhsv(251, 73%, 69%)
CMYKcmyk(59.4%, 72.6%, 0%, 31.4%)
CIE-LABlab(30.75, 44.99, -64.06)
CIE-LCHlch(30.75, 78.28, 305.08°)
OKLaboklab(42.27% 0.0426 -0.1846)
OKLCHoklch(42.27% 0.189 283)
XYZxyz(11.3910, 6.5479, 41.2128)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4730AF #98AF30
analogous
#3058AF #4730AF #8630AF
triadic
#4730AF #AF4730 #30AF47
tetradic
#4730AF #AF3058 #98AF30 #30AF86
square
#4730AF #AF3058 #98AF30 #30AF86
split-complementary
#4730AF #AF8630 #58AF30
monochromatic
#20164F #34237F #4730AF #654ECE #8F7EDC

Accessibility & contrast

On white

9.09
#4730AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#4730AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4730AF
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4730AF#FFFFFF#000000##FFFFFF
##4730AF1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB3
Deuteranopia (green-blind)
#0044AD
Tritanopia (blue-blind)
#01536C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4730af;
/* rgb */ color: rgb(71, 48, 175);
/* oklch */ color: oklch(42.3% 0.189 283.0);
Tailwind
colors: {
  custom: {
    50: '#866bc8',
    500: '#4730af',
    950: '#000000',
  },
}
SCSS
$custom: #4730af;
$custom-light: #866bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#4730af",
  "rgb": {
    "r": 71,
    "g": 48,
    "b": 175
  },
  "hsl": {
    "h": 250.866,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42271,
    "c": 0.18941,
    "h": 283
  },
  "luminance": 0.06549
}

Semantic roles & 50–950 ramp

primary
#4730AF
secondary
#B6C476
accent
#E048C5
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4730AF

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

Preview Lab → · Contrast checker → · Palette generator →

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