#4723A6#4723A6

#4723A6 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.8% C 0.192 H 286.4°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#4723A6
RGBrgb(71, 35, 166)
HSLhsl(256, 65%, 39%)
HSVhsv(256, 79%, 65%)
CMYKcmyk(57.2%, 78.9%, 0%, 34.9%)
CIE-LABlab(27.56, 48.93, -63.91)
CIE-LCHlch(27.56, 80.49, 307.44°)
OKLaboklab(39.76% 0.0543 -0.184)
OKLCHoklch(39.76% 0.192 286.4)
XYZxyz(10.0804, 5.2943, 36.5597)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4723A6 #82A623
analogous
#2340A6 #4723A6 #8923A6
triadic
#4723A6 #A64723 #23A647
tetradic
#4723A6 #A62340 #82A623 #23A689
square
#4723A6 #A62340 #82A623 #23A689
split-complementary
#4723A6 #A68923 #40A623
monochromatic
#1C0E41 #311873 #4723A6 #5F32D4 #8665DF

Accessibility & contrast

On white

10.20
#4723A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4723A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4723A6
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4723A6#FFFFFF#000000##FFFFFF
##4723A61.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AA
Deuteranopia (green-blind)
#003DA4
Tritanopia (blue-blind)
#194964
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4723a6;
/* rgb */ color: rgb(71, 35, 166);
/* oklch */ color: oklch(39.8% 0.192 286.4);
Tailwind
colors: {
  custom: {
    50: '#8663c2',
    500: '#4723a6',
    950: '#000000',
  },
}
SCSS
$custom: #4723a6;
$custom-light: #8663c2;
$custom-dark: #000000;
JSON
{
  "hex": "#4723a6",
  "rgb": {
    "r": 71,
    "g": 35,
    "b": 166
  },
  "hsl": {
    "h": 256.489,
    "s": 65.174,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39758,
    "c": 0.19187,
    "h": 286.4
  },
  "luminance": 0.05295
}

Semantic roles & 50–950 ramp

primary
#4723A6
secondary
#A9C461
accent
#E840BA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4723A6

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

Preview Lab → · Contrast checker → · Palette generator →

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