#623AA6#623AA6

#623AA6 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.6% C 0.165 H 296.2°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#623AA6
RGBrgb(98, 58, 166)
HSLhsl(262, 48%, 44%)
HSVhsv(262, 65%, 65%)
CMYKcmyk(41%, 65.1%, 0%, 34.9%)
CIE-LABlab(34.75, 41.67, -52.03)
CIE-LCHlch(34.75, 66.66, 308.69°)
OKLaboklab(45.56% 0.0731 -0.1484)
OKLCHoklch(45.56% 0.165 296.2)
XYZxyz(13.4312, 8.3757, 36.9780)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623AA6 #7EA63A
analogous
#3A48A6 #623AA6 #983AA6
triadic
#623AA6 #A6623A #3AA662
tetradic
#623AA6 #A63A48 #7EA63A #3AA698
square
#623AA6 #A63A48 #7EA63A #3AA698
split-complementary
#623AA6 #A6983A #48A63A
monochromatic
#2C1A4B #472A79 #623AA6 #8158C5 #A386D5

Accessibility & contrast

On white

7.85
#623AA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#623AA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623AA6
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623AA6#FFFFFF#000000##FFFFFF
##623AA61.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A9
Deuteranopia (green-blind)
#0050A4
Tritanopia (blue-blind)
#51536B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #623aa6;
/* rgb */ color: rgb(98, 58, 166);
/* oklch */ color: oklch(45.6% 0.165 296.2);
Tailwind
colors: {
  custom: {
    50: '#9472c1',
    500: '#623aa6',
    950: '#000000',
  },
}
SCSS
$custom: #623aa6;
$custom-light: #9472c1;
$custom-dark: #000000;
JSON
{
  "hex": "#623aa6",
  "rgb": {
    "r": 98,
    "g": 58,
    "b": 166
  },
  "hsl": {
    "h": 262.222,
    "s": 48.214,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45555,
    "c": 0.16542,
    "h": 296.2
  },
  "luminance": 0.08376
}

Semantic roles & 50–950 ramp

primary
#623AA6
secondary
#A6BF7D
accent
#D850A6
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #623AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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