#4723B2#4723B2

#4723B2 is a dark, highly saturated violet. Relative luminance 0.058; OKLCH L 41.0% C 0.205 H 284.2°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#4723B2
RGBrgb(71, 35, 178)
HSLhsl(255, 67%, 42%)
HSVhsv(255, 80%, 70%)
CMYKcmyk(60.1%, 80.3%, 0%, 30.2%)
CIE-LABlab(28.79, 52.33, -69.09)
CIE-LCHlch(28.79, 86.67, 307.14°)
OKLaboklab(40.98% 0.0505 -0.1992)
OKLCHoklch(40.98% 0.205 284.2)
XYZxyz(11.2330, 5.7553, 42.6298)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4723B2 #8EB223
analogous
#2347B2 #4723B2 #8F23B2
triadic
#4723B2 #B24723 #23B247
tetradic
#4723B2 #B22347 #8EB223 #23B28F
square
#4723B2 #B22347 #8EB223 #23B28F
split-complementary
#4723B2 #B28F23 #47B223
monochromatic
#1E0F4C #33197F #4723B2 #623AD8 #8B6DE2

Accessibility & contrast

On white

9.76
#4723B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#4723B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4723B2
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4723B2#FFFFFF#000000##FFFFFF
##4723B21.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B6
Deuteranopia (green-blind)
#003FAF
Tritanopia (blue-blind)
#004E6B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4723b2;
/* rgb */ color: rgb(71, 35, 178);
/* oklch */ color: oklch(41.0% 0.205 284.2);
Tailwind
colors: {
  custom: {
    50: '#8864ca',
    500: '#4723b2',
    950: '#000000',
  },
}
SCSS
$custom: #4723b2;
$custom-light: #8864ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4723b2",
  "rgb": {
    "r": 71,
    "g": 35,
    "b": 178
  },
  "hsl": {
    "h": 255.105,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4098,
    "c": 0.20547,
    "h": 284.2
  },
  "luminance": 0.05756
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4723B2

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

Preview Lab → · Contrast checker → · Palette generator →

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