#623AA1#623AA1

#623AA1 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.2% C 0.159 H 297.5°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#623AA1
RGBrgb(98, 58, 161)
HSLhsl(263, 47%, 43%)
HSVhsv(263, 64%, 63%)
CMYKcmyk(39.1%, 64%, 0%, 36.9%)
CIE-LABlab(34.39, 40.31, -49.62)
CIE-LCHlch(34.39, 63.92, 309.09°)
OKLaboklab(45.17% 0.0736 -0.1413)
OKLCHoklch(45.17% 0.159 297.5)
XYZxyz(12.9814, 8.1958, 34.6093)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623AA1 #79A13A
analogous
#3A45A1 #623AA1 #953AA1
triadic
#623AA1 #A1623A #3AA162
tetradic
#623AA1 #A13A45 #79A13A #3AA195
square
#623AA1 #A13A45 #79A13A #3AA195
split-complementary
#623AA1 #A1953A #45A13A
monochromatic
#2B1A47 #472A74 #623AA1 #8056C2 #A283D2

Accessibility & contrast

On white

7.96
#623AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#623AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623AA1
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623AA1#FFFFFF#000000##FFFFFF
##623AA11.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A4
Deuteranopia (green-blind)
#00509F
Tritanopia (blue-blind)
#535168
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #623aa1;
/* rgb */ color: rgb(98, 58, 161);
/* oklch */ color: oklch(45.2% 0.159 297.5);
Tailwind
colors: {
  custom: {
    50: '#9372bd',
    500: '#623aa1',
    950: '#000000',
  },
}
SCSS
$custom: #623aa1;
$custom-light: #9372bd;
$custom-dark: #000000;
JSON
{
  "hex": "#623aa1",
  "rgb": {
    "r": 98,
    "g": 58,
    "b": 161
  },
  "hsl": {
    "h": 263.301,
    "s": 47.032,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45174,
    "c": 0.15929,
    "h": 297.5
  },
  "luminance": 0.08196
}

Semantic roles & 50–950 ramp

primary
#623AA1
secondary
#A3BC7B
accent
#D751A3
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #623AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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