#4723B4#4723B4

#4723B4 is a dark, highly saturated violet. Relative luminance 0.058; OKLCH L 41.2% C 0.208 H 283.9°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#4723B4
RGBrgb(71, 35, 180)
HSLhsl(255, 67%, 42%)
HSVhsv(255, 81%, 71%)
CMYKcmyk(60.6%, 80.6%, 0%, 29.4%)
CIE-LABlab(29.00, 52.89, -69.94)
CIE-LCHlch(29.00, 87.69, 307.10°)
OKLaboklab(41.19% 0.0499 -0.2016)
OKLCHoklch(41.19% 0.208 283.9)
XYZxyz(11.4352, 5.8362, 43.6951)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4723B4 #90B423
analogous
#2347B4 #4723B4 #9023B4
triadic
#4723B4 #B44723 #23B447
tetradic
#4723B4 #B42347 #90B423 #23B490
square
#4723B4 #B42347 #90B423 #23B490
split-complementary
#4723B4 #B49023 #47B423
monochromatic
#1F0F4E #331981 #4723B4 #623BD9 #8B6EE3

Accessibility & contrast

On white

9.69
#4723B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#4723B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4723B4
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4723B4#FFFFFF#000000##FFFFFF
##4723B41.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B8
Deuteranopia (green-blind)
#0040B1
Tritanopia (blue-blind)
#004F6C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4723b4;
/* rgb */ color: rgb(71, 35, 180);
/* oklch */ color: oklch(41.2% 0.208 283.9);
Tailwind
colors: {
  custom: {
    50: '#8864cc',
    500: '#4723b4',
    950: '#000000',
  },
}
SCSS
$custom: #4723b4;
$custom-light: #8864cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4723b4",
  "rgb": {
    "r": 71,
    "g": 35,
    "b": 180
  },
  "hsl": {
    "h": 254.897,
    "s": 67.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.41187,
    "c": 0.20772,
    "h": 283.9
  },
  "luminance": 0.05837
}

Semantic roles & 50–950 ramp

primary
#4723B4
secondary
#B2C969
accent
#EA3DBF
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #4723B4

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

Preview Lab → · Contrast checker → · Palette generator →

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