#4723C7#4723C7

#4723C7 is a dark, highly saturated violet. Relative luminance 0.067; OKLCH L 43.2% C 0.229 H 281.0°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#4723C7
RGBrgb(71, 35, 199)
HSLhsl(253, 70%, 46%)
HSVhsv(253, 82%, 78%)
CMYKcmyk(64.3%, 82.4%, 0%, 22%)
CIE-LABlab(31.03, 58.20, -77.80)
CIE-LCHlch(31.03, 97.16, 306.80°)
OKLaboklab(43.19% 0.0437 -0.2245)
OKLCHoklch(43.19% 0.229 281)
XYZxyz(13.5051, 6.6641, 54.5964)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4723C7 #A3C723
analogous
#2351C7 #4723C7 #9923C7
triadic
#4723C7 #C74723 #23C747
tetradic
#4723C7 #C72351 #A3C723 #23C799
square
#4723C7 #C72351 #A3C723 #23C799
split-complementary
#4723C7 #C79923 #51C723
monochromatic
#22115F #341A93 #4723C7 #6948DF #947CE8

Accessibility & contrast

On white

9.00
#4723C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#4723C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4723C7
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4723C7#FFFFFF#000000##FFFFFF
##4723C71.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ECB
Deuteranopia (green-blind)
#0043C4
Tritanopia (blue-blind)
#005777
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4723c7;
/* rgb */ color: rgb(71, 35, 199);
/* oklch */ color: oklch(43.2% 0.229 281.0);
Tailwind
colors: {
  custom: {
    50: '#8c65d9',
    500: '#4723c7',
    950: '#000000',
  },
}
SCSS
$custom: #4723c7;
$custom-light: #8c65d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4723c7",
  "rgb": {
    "r": 71,
    "g": 35,
    "b": 199
  },
  "hsl": {
    "h": 253.171,
    "s": 70.085,
    "l": 45.882
  },
  "oklch": {
    "l": 0.4319,
    "c": 0.22875,
    "h": 281
  },
  "luminance": 0.06665
}

Semantic roles & 50–950 ramp

primary
#4723C7
secondary
#BCD076
accent
#ED3BC6
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #4723C7

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

Preview Lab → · Contrast checker → · Palette generator →

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