#623BA5#623BA5

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

Color values

HEX#623BA5
RGBrgb(98, 59, 165)
HSLhsl(262, 47%, 44%)
HSVhsv(262, 64%, 65%)
CMYKcmyk(40.6%, 64.2%, 0%, 35.3%)
CIE-LABlab(34.88, 40.84, -51.22)
CIE-LCHlch(34.88, 65.51, 308.57°)
OKLaboklab(45.63% 0.0721 -0.146)
OKLCHoklch(45.63% 0.163 296.3)
XYZxyz(13.3907, 8.4410, 36.5138)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623BA5 #7EA53B
analogous
#3B49A5 #623BA5 #973BA5
triadic
#623BA5 #A5623B #3BA562
tetradic
#623BA5 #A53B49 #7EA53B #3BA597
square
#623BA5 #A53B49 #7EA53B #3BA597
split-complementary
#623BA5 #A5973B #49A53B
monochromatic
#2C1B4B #472B78 #623BA5 #8159C4 #A386D4

Accessibility & contrast

On white

7.81
#623BA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#623BA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623BA5
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623BA5#FFFFFF#000000##FFFFFF
##623BA51.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A8
Deuteranopia (green-blind)
#0051A3
Tritanopia (blue-blind)
#51536A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #623ba5;
/* rgb */ color: rgb(98, 59, 165);
/* oklch */ color: oklch(45.6% 0.163 296.3);
Tailwind
colors: {
  custom: {
    50: '#9473c0',
    500: '#623ba5',
    950: '#000000',
  },
}
SCSS
$custom: #623ba5;
$custom-light: #9473c0;
$custom-dark: #000000;
JSON
{
  "hex": "#623ba5",
  "rgb": {
    "r": 98,
    "g": 59,
    "b": 165
  },
  "hsl": {
    "h": 262.075,
    "s": 47.321,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45627,
    "c": 0.16281,
    "h": 296.3
  },
  "luminance": 0.08441
}

Semantic roles & 50–950 ramp

primary
#623BA5
secondary
#A6BE7E
accent
#D751A6
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #623BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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