#4722A7#4722A7

#4722A7 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.7% C 0.194 H 286.4°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#4722A7
RGBrgb(71, 34, 167)
HSLhsl(257, 66%, 39%)
HSVhsv(257, 80%, 65%)
CMYKcmyk(57.5%, 79.6%, 0%, 34.5%)
CIE-LABlab(27.50, 49.67, -64.61)
CIE-LCHlch(27.50, 81.50, 307.55°)
OKLaboklab(39.75% 0.0546 -0.1861)
OKLCHoklch(39.75% 0.194 286.4)
XYZxyz(10.1435, 5.2731, 37.0350)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4722A7 #82A722
analogous
#223FA7 #4722A7 #8A22A7
triadic
#4722A7 #A74722 #22A747
tetradic
#4722A7 #A7223F #82A722 #22A78A
square
#4722A7 #A7223F #82A722 #22A78A
split-complementary
#4722A7 #A78A22 #3FA722
monochromatic
#1C0D41 #311874 #4722A7 #5F31D5 #8664DF

Accessibility & contrast

On white

10.22
#4722A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#4722A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4722A7
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4722A7#FFFFFF#000000##FFFFFF
##4722A71.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AB
Deuteranopia (green-blind)
#003DA5
Tritanopia (blue-blind)
#174965
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4722a7;
/* rgb */ color: rgb(71, 34, 167);
/* oklch */ color: oklch(39.7% 0.194 286.4);
Tailwind
colors: {
  custom: {
    50: '#8663c2',
    500: '#4722a7',
    950: '#000000',
  },
}
SCSS
$custom: #4722a7;
$custom-light: #8663c2;
$custom-dark: #000000;
JSON
{
  "hex": "#4722a7",
  "rgb": {
    "r": 71,
    "g": 34,
    "b": 167
  },
  "hsl": {
    "h": 256.692,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39748,
    "c": 0.19393,
    "h": 286.4
  },
  "luminance": 0.05274
}

Semantic roles & 50–950 ramp

primary
#4722A7
secondary
#A9C560
accent
#E93FBA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #4722A7

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

Preview Lab → · Contrast checker → · Palette generator →

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