#623EB4#623EB4

#623EB4 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.2% C 0.177 H 292.3°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#623EB4
RGBrgb(98, 62, 180)
HSLhsl(258, 49%, 47%)
HSVhsv(258, 66%, 71%)
CMYKcmyk(45.6%, 65.6%, 0%, 29.4%)
CIE-LABlab(36.62, 43.34, -57.34)
CIE-LCHlch(36.62, 71.88, 307.09°)
OKLaboklab(47.24% 0.0672 -0.164)
OKLCHoklch(47.24% 0.177 292.3)
XYZxyz(14.9956, 9.3367, 44.1832)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623EB4 #90B43E
analogous
#3E55B4 #623EB4 #9D3EB4
triadic
#623EB4 #B4623E #3EB462
tetradic
#623EB4 #B43E55 #90B43E #3EB49D
square
#623EB4 #B43E55 #90B43E #3EB49D
split-complementary
#623EB4 #B49D3E #55B43E
monochromatic
#301F59 #492E86 #623EB4 #8465CA #A893DA

Accessibility & contrast

On white

7.32
#623EB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#623EB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623EB4
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623EB4#FFFFFF#000000##FFFFFF
##623EB41.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B8
Deuteranopia (green-blind)
#0054B2
Tritanopia (blue-blind)
#4A5A73
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #623eb4;
/* rgb */ color: rgb(98, 62, 180);
/* oklch */ color: oklch(47.2% 0.177 292.3);
Tailwind
colors: {
  custom: {
    50: '#9575cb',
    500: '#623eb4',
    950: '#000000',
  },
}
SCSS
$custom: #623eb4;
$custom-light: #9575cb;
$custom-dark: #000000;
JSON
{
  "hex": "#623eb4",
  "rgb": {
    "r": 98,
    "g": 62,
    "b": 180
  },
  "hsl": {
    "h": 258.305,
    "s": 48.76,
    "l": 47.451
  },
  "oklch": {
    "l": 0.47239,
    "c": 0.17723,
    "h": 292.3
  },
  "luminance": 0.09337
}

Semantic roles & 50–950 ramp

primary
#623EB4
secondary
#B3C589
accent
#D84FAF
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #623EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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