#4723A7#4723A7

#4723A7 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.9% C 0.193 H 286.2°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#4723A7
RGBrgb(71, 35, 167)
HSLhsl(256, 65%, 40%)
HSVhsv(256, 79%, 65%)
CMYKcmyk(57.5%, 79%, 0%, 34.5%)
CIE-LABlab(27.66, 49.21, -64.35)
CIE-LCHlch(27.66, 81.01, 307.41°)
OKLaboklab(39.86% 0.054 -0.1853)
OKLCHoklch(39.86% 0.193 286.2)
XYZxyz(10.1725, 5.3311, 37.0447)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4723A7 #83A723
analogous
#2341A7 #4723A7 #8923A7
triadic
#4723A7 #A74723 #23A747
tetradic
#4723A7 #A72341 #83A723 #23A789
square
#4723A7 #A72341 #83A723 #23A789
split-complementary
#4723A7 #A78923 #41A723
monochromatic
#1C0E42 #311874 #4723A7 #5F33D4 #8766DF

Accessibility & contrast

On white

10.16
#4723A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4723A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4723A7
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4723A7#FFFFFF#000000##FFFFFF
##4723A71.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AB
Deuteranopia (green-blind)
#003DA5
Tritanopia (blue-blind)
#174A65
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4723a7;
/* rgb */ color: rgb(71, 35, 167);
/* oklch */ color: oklch(39.9% 0.193 286.2);
Tailwind
colors: {
  custom: {
    50: '#8663c2',
    500: '#4723a7',
    950: '#000000',
  },
}
SCSS
$custom: #4723a7;
$custom-light: #8663c2;
$custom-dark: #000000;
JSON
{
  "hex": "#4723a7",
  "rgb": {
    "r": 71,
    "g": 35,
    "b": 167
  },
  "hsl": {
    "h": 256.364,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39859,
    "c": 0.19301,
    "h": 286.2
  },
  "luminance": 0.05332
}

Semantic roles & 50–950 ramp

primary
#4723A7
secondary
#A9C461
accent
#E83FBA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #4723A7

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

Preview Lab → · Contrast checker → · Palette generator →

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