#623BA4#623BA4

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

Color values

HEX#623BA4
RGBrgb(98, 59, 164)
HSLhsl(262, 47%, 44%)
HSVhsv(262, 64%, 64%)
CMYKcmyk(40.2%, 64%, 0%, 35.7%)
CIE-LABlab(34.81, 40.57, -50.74)
CIE-LCHlch(34.81, 64.96, 308.64°)
OKLaboklab(45.55% 0.0722 -0.1446)
OKLCHoklch(45.55% 0.162 296.5)
XYZxyz(13.3001, 8.4047, 36.0363)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623BA4 #7DA43B
analogous
#3B48A4 #623BA4 #963BA4
triadic
#623BA4 #A4623B #3BA462
tetradic
#623BA4 #A43B48 #7DA43B #3BA496
square
#623BA4 #A43B48 #7DA43B #3BA496
split-complementary
#623BA4 #A4963B #48A43B
monochromatic
#2C1B4A #472B77 #623BA4 #8059C3 #A386D3

Accessibility & contrast

On white

7.83
#623BA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #623BA4
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623BA4#FFFFFF#000000##FFFFFF
##623BA41.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A7
Deuteranopia (green-blind)
#0050A2
Tritanopia (blue-blind)
#52536A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #623ba4;
/* rgb */ color: rgb(98, 59, 164);
/* oklch */ color: oklch(45.6% 0.162 296.5);
Tailwind
colors: {
  custom: {
    50: '#9473c0',
    500: '#623ba4',
    950: '#000000',
  },
}
SCSS
$custom: #623ba4;
$custom-light: #9473c0;
$custom-dark: #000000;
JSON
{
  "hex": "#623ba4",
  "rgb": {
    "r": 98,
    "g": 59,
    "b": 164
  },
  "hsl": {
    "h": 262.286,
    "s": 47.085,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45551,
    "c": 0.16158,
    "h": 296.5
  },
  "luminance": 0.08405
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #623BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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