#4723CA#4723CA

#4723CA is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.5% C 0.232 H 280.6°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#4723CA
RGBrgb(71, 35, 202)
HSLhsl(253, 70%, 46%)
HSVhsv(253, 83%, 79%)
CMYKcmyk(64.9%, 82.7%, 0%, 20.8%)
CIE-LABlab(31.36, 59.02, -79.02)
CIE-LCHlch(31.36, 98.63, 306.76°)
OKLaboklab(43.51% 0.0427 -0.228)
OKLCHoklch(43.51% 0.232 280.6)
XYZxyz(13.8569, 6.8048, 56.4489)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4723CA #A6CA23
analogous
#2353CA #4723CA #9B23CA
triadic
#4723CA #CA4723 #23CA47
tetradic
#4723CA #CA2353 #A6CA23 #23CA9B
square
#4723CA #CA2353 #A6CA23 #23CA9B
split-complementary
#4723CA #CA9B23 #53CA23
monochromatic
#221162 #351A96 #4723CA #6B4AE0 #967FE9

Accessibility & contrast

On white

8.89
#4723CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#4723CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4723CA
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4723CA#FFFFFF#000000##FFFFFF
##4723CA1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FCE
Deuteranopia (green-blind)
#0043C7
Tritanopia (blue-blind)
#005879
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4723ca;
/* rgb */ color: rgb(71, 35, 202);
/* oklch */ color: oklch(43.5% 0.232 280.6);
Tailwind
colors: {
  custom: {
    50: '#8c65dc',
    500: '#4723ca',
    950: '#000000',
  },
}
SCSS
$custom: #4723ca;
$custom-light: #8c65dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4723ca",
  "rgb": {
    "r": 71,
    "g": 35,
    "b": 202
  },
  "hsl": {
    "h": 252.934,
    "s": 70.464,
    "l": 46.471
  },
  "oklch": {
    "l": 0.43512,
    "c": 0.23202,
    "h": 280.6
  },
  "luminance": 0.06806
}

Semantic roles & 50–950 ramp

primary
#4723CA
secondary
#BED178
accent
#ED3BC7
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #4723CA

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

Preview Lab → · Contrast checker → · Palette generator →

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