#4723B3#4723B3

#4723B3 is a dark, highly saturated violet. Relative luminance 0.058; OKLCH L 41.1% C 0.207 H 284.1°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#4723B3
RGBrgb(71, 35, 179)
HSLhsl(255, 67%, 42%)
HSVhsv(255, 80%, 70%)
CMYKcmyk(60.3%, 80.4%, 0%, 29.8%)
CIE-LABlab(28.89, 52.61, -69.52)
CIE-LCHlch(28.89, 87.18, 307.12°)
OKLaboklab(41.08% 0.0502 -0.2004)
OKLCHoklch(41.08% 0.207 284.1)
XYZxyz(11.3337, 5.7956, 43.1605)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4723B3 #8FB323
analogous
#2347B3 #4723B3 #8F23B3
triadic
#4723B3 #B34723 #23B347
tetradic
#4723B3 #B32347 #8FB323 #23B38F
square
#4723B3 #B32347 #8FB323 #23B38F
split-complementary
#4723B3 #B38F23 #47B323
monochromatic
#1E0F4D #331980 #4723B3 #623BD9 #8B6EE3

Accessibility & contrast

On white

9.73
#4723B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#4723B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4723B3
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4723B3#FFFFFF#000000##FFFFFF
##4723B31.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B7
Deuteranopia (green-blind)
#003FB0
Tritanopia (blue-blind)
#004F6C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4723b3;
/* rgb */ color: rgb(71, 35, 179);
/* oklch */ color: oklch(41.1% 0.207 284.1);
Tailwind
colors: {
  custom: {
    50: '#8864cb',
    500: '#4723b3',
    950: '#000000',
  },
}
SCSS
$custom: #4723b3;
$custom-light: #8864cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4723b3",
  "rgb": {
    "r": 71,
    "g": 35,
    "b": 179
  },
  "hsl": {
    "h": 255,
    "s": 67.29,
    "l": 41.961
  },
  "oklch": {
    "l": 0.41083,
    "c": 0.2066,
    "h": 284.1
  },
  "luminance": 0.05796
}

Semantic roles & 50–950 ramp

primary
#4723B3
secondary
#B1C969
accent
#EA3EBF
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4723B3

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

Preview Lab → · Contrast checker → · Palette generator →

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