#623BA1#623BA1

#623BA1 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.3% C 0.158 H 297.3°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#623BA1
RGBrgb(98, 59, 161)
HSLhsl(263, 46%, 43%)
HSVhsv(263, 63%, 63%)
CMYKcmyk(39.1%, 63.4%, 0%, 36.9%)
CIE-LABlab(34.60, 39.75, -49.28)
CIE-LCHlch(34.60, 63.31, 308.89°)
OKLaboklab(45.33% 0.0724 -0.1403)
OKLCHoklch(45.33% 0.158 297.3)
XYZxyz(13.0323, 8.2976, 34.6263)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623BA1 #7AA13B
analogous
#3B47A1 #623BA1 #953BA1
triadic
#623BA1 #A1623B #3BA162
tetradic
#623BA1 #A13B47 #7AA13B #3BA195
square
#623BA1 #A13B47 #7AA13B #3BA195
split-complementary
#623BA1 #A1953B #47A13B
monochromatic
#2B1A47 #472B74 #623BA1 #8058C2 #A284D2

Accessibility & contrast

On white

7.90
#623BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#623BA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623BA1
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623BA1#FFFFFF#000000##FFFFFF
##623BA11.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A4
Deuteranopia (green-blind)
#04509F
Tritanopia (blue-blind)
#535268
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #623ba1;
/* rgb */ color: rgb(98, 59, 161);
/* oklch */ color: oklch(45.3% 0.158 297.3);
Tailwind
colors: {
  custom: {
    50: '#9373bd',
    500: '#623ba1',
    950: '#000000',
  },
}
SCSS
$custom: #623ba1;
$custom-light: #9373bd;
$custom-dark: #000000;
JSON
{
  "hex": "#623ba1",
  "rgb": {
    "r": 98,
    "g": 59,
    "b": 161
  },
  "hsl": {
    "h": 262.941,
    "s": 46.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.45325,
    "c": 0.15787,
    "h": 297.3
  },
  "luminance": 0.08298
}

Semantic roles & 50–950 ramp

primary
#623BA1
secondary
#A3BC7C
accent
#D652A3
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0D0812
muted
#7E7B81

Preview Lab

Preview with #623BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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