#623AA5#623AA5

#623AA5 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.5% C 0.164 H 296.5°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#623AA5
RGBrgb(98, 58, 165)
HSLhsl(262, 48%, 44%)
HSVhsv(262, 65%, 65%)
CMYKcmyk(40.6%, 64.8%, 0%, 35.3%)
CIE-LABlab(34.68, 41.40, -51.55)
CIE-LCHlch(34.68, 66.11, 308.76°)
OKLaboklab(45.48% 0.0732 -0.147)
OKLCHoklch(45.48% 0.164 296.5)
XYZxyz(13.3398, 8.3391, 36.4968)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623AA5 #7DA53A
analogous
#3A47A5 #623AA5 #973AA5
triadic
#623AA5 #A5623A #3AA562
tetradic
#623AA5 #A53A47 #7DA53A #3AA597
square
#623AA5 #A53A47 #7DA53A #3AA597
split-complementary
#623AA5 #A5973A #47A53A
monochromatic
#2C1A4A #472A78 #623AA5 #8058C4 #A385D4

Accessibility & contrast

On white

7.87
#623AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#623AA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623AA5
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623AA5#FFFFFF#000000##FFFFFF
##623AA51.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A8
Deuteranopia (green-blind)
#0050A3
Tritanopia (blue-blind)
#51526A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #623aa5;
/* rgb */ color: rgb(98, 58, 165);
/* oklch */ color: oklch(45.5% 0.164 296.5);
Tailwind
colors: {
  custom: {
    50: '#9472c0',
    500: '#623aa5',
    950: '#000000',
  },
}
SCSS
$custom: #623aa5;
$custom-light: #9472c0;
$custom-dark: #000000;
JSON
{
  "hex": "#623aa5",
  "rgb": {
    "r": 98,
    "g": 58,
    "b": 165
  },
  "hsl": {
    "h": 262.43,
    "s": 47.982,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45478,
    "c": 0.1642,
    "h": 296.5
  },
  "luminance": 0.08339
}

Semantic roles & 50–950 ramp

primary
#623AA5
secondary
#A6BE7D
accent
#D850A5
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #623AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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