#623EA5#623EA5

#623EA5 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.1% C 0.159 H 295.6°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#623EA5
RGBrgb(98, 62, 165)
HSLhsl(261, 45%, 45%)
HSVhsv(261, 62%, 65%)
CMYKcmyk(40.6%, 62.4%, 0%, 35.3%)
CIE-LABlab(35.51, 39.15, -50.20)
CIE-LCHlch(35.51, 63.66, 307.95°)
OKLaboklab(46.08% 0.0686 -0.143)
OKLCHoklch(46.08% 0.159 295.6)
XYZxyz(13.5494, 8.7583, 36.5667)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623EA5 #81A53E
analogous
#3E4EA5 #623EA5 #963EA5
triadic
#623EA5 #A5623E #3EA562
tetradic
#623EA5 #A53E4E #81A53E #3EA596
square
#623EA5 #A53E4E #81A53E #3EA596
split-complementary
#623EA5 #A5963E #4EA53E
monochromatic
#2D1D4C #482D79 #623EA5 #815EC2 #A48AD3

Accessibility & contrast

On white

7.63
#623EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#623EA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623EA5
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623EA5#FFFFFF#000000##FFFFFF
##623EA51.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A8
Deuteranopia (green-blind)
#0252A3
Tritanopia (blue-blind)
#51556B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #623ea5;
/* rgb */ color: rgb(98, 62, 165);
/* oklch */ color: oklch(46.1% 0.159 295.6);
Tailwind
colors: {
  custom: {
    50: '#9475c0',
    500: '#623ea5',
    950: '#000000',
  },
}
SCSS
$custom: #623ea5;
$custom-light: #9475c0;
$custom-dark: #000000;
JSON
{
  "hex": "#623ea5",
  "rgb": {
    "r": 98,
    "g": 62,
    "b": 165
  },
  "hsl": {
    "h": 260.971,
    "s": 45.374,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46084,
    "c": 0.15859,
    "h": 295.6
  },
  "luminance": 0.08759
}

Semantic roles & 50–950 ramp

primary
#623EA5
secondary
#A9BE81
accent
#D553A8
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #623EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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