#623AA4#623AA4

#623AA4 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.4% C 0.163 H 296.7°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#623AA4
RGBrgb(98, 58, 164)
HSLhsl(263, 48%, 44%)
HSVhsv(263, 65%, 64%)
CMYKcmyk(40.2%, 64.6%, 0%, 35.7%)
CIE-LABlab(34.61, 41.12, -51.07)
CIE-LCHlch(34.61, 65.57, 308.84°)
OKLaboklab(45.4% 0.0733 -0.1456)
OKLCHoklch(45.4% 0.163 296.7)
XYZxyz(13.2492, 8.3029, 36.0193)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623AA4 #7CA43A
analogous
#3A47A4 #623AA4 #973AA4
triadic
#623AA4 #A4623A #3AA462
tetradic
#623AA4 #A43A47 #7CA43A #3AA497
square
#623AA4 #A43A47 #7CA43A #3AA497
split-complementary
#623AA4 #A4973A #47A43A
monochromatic
#2C1A4A #472A77 #623AA4 #8057C4 #A385D4

Accessibility & contrast

On white

7.89
#623AA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#623AA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623AA4
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623AA4#FFFFFF#000000##FFFFFF
##623AA41.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A7
Deuteranopia (green-blind)
#0050A2
Tritanopia (blue-blind)
#525269
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #623aa4;
/* rgb */ color: rgb(98, 58, 164);
/* oklch */ color: oklch(45.4% 0.163 296.7);
Tailwind
colors: {
  custom: {
    50: '#9472c0',
    500: '#623aa4',
    950: '#000000',
  },
}
SCSS
$custom: #623aa4;
$custom-light: #9472c0;
$custom-dark: #000000;
JSON
{
  "hex": "#623aa4",
  "rgb": {
    "r": 98,
    "g": 58,
    "b": 164
  },
  "hsl": {
    "h": 262.642,
    "s": 47.748,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45402,
    "c": 0.16297,
    "h": 296.7
  },
  "luminance": 0.08303
}

Semantic roles & 50–950 ramp

primary
#623AA4
secondary
#A5BE7C
accent
#D750A4
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #623AA4

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

Preview Lab → · Contrast checker → · Palette generator →

#623AA4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva