#4723A4#4723A4

#4723A4 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.6% C 0.190 H 286.8°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#4723A4
RGBrgb(71, 35, 164)
HSLhsl(257, 65%, 39%)
HSVhsv(257, 79%, 64%)
CMYKcmyk(56.7%, 78.7%, 0%, 35.7%)
CIE-LABlab(27.36, 48.36, -63.03)
CIE-LCHlch(27.36, 79.45, 307.50°)
OKLaboklab(39.56% 0.0549 -0.1815)
OKLCHoklch(39.56% 0.19 286.8)
XYZxyz(9.8984, 5.2214, 35.6010)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4723A4 #80A423
analogous
#2340A4 #4723A4 #8823A4
triadic
#4723A4 #A44723 #23A447
tetradic
#4723A4 #A42340 #80A423 #23A488
square
#4723A4 #A42340 #80A423 #23A488
split-complementary
#4723A4 #A48823 #40A423
monochromatic
#1B0D3F #311872 #4723A4 #5E31D3 #8664DE

Accessibility & contrast

On white

10.27
#4723A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#4723A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4723A4
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4723A4#FFFFFF#000000##FFFFFF
##4723A41.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A8
Deuteranopia (green-blind)
#003DA2
Tritanopia (blue-blind)
#1C4863
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4723a4;
/* rgb */ color: rgb(71, 35, 164);
/* oklch */ color: oklch(39.6% 0.190 286.8);
Tailwind
colors: {
  custom: {
    50: '#8563c0',
    500: '#4723a4',
    950: '#000000',
  },
}
SCSS
$custom: #4723a4;
$custom-light: #8563c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4723a4",
  "rgb": {
    "r": 71,
    "g": 35,
    "b": 164
  },
  "hsl": {
    "h": 256.744,
    "s": 64.824,
    "l": 39.02
  },
  "oklch": {
    "l": 0.39558,
    "c": 0.18958,
    "h": 286.8
  },
  "luminance": 0.05222
}

Semantic roles & 50–950 ramp

primary
#4723A4
secondary
#A7C360
accent
#E840B9
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4723A4

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

Preview Lab → · Contrast checker → · Palette generator →

#4723A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva