#623AAB#623AAB

#623AAB is a mid, vivid violet. Relative luminance 0.086; OKLCH L 45.9% C 0.172 H 295.0°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#623AAB
RGBrgb(98, 58, 171)
HSLhsl(261, 49%, 45%)
HSVhsv(261, 66%, 67%)
CMYKcmyk(42.7%, 66.1%, 0%, 32.9%)
CIE-LABlab(35.13, 43.04, -54.42)
CIE-LCHlch(35.13, 69.38, 308.34°)
OKLaboklab(45.94% 0.0726 -0.1554)
OKLCHoklch(45.94% 0.172 295)
XYZxyz(13.8988, 8.5627, 39.4407)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623AAB #83AB3A
analogous
#3A4AAB #623AAB #9B3AAB
triadic
#623AAB #AB623A #3AAB62
tetradic
#623AAB #AB3A4A #83AB3A #3AAB9B
square
#623AAB #AB3A4A #83AB3A #3AAB9B
split-complementary
#623AAB #AB9B3A #4AAB3A
monochromatic
#2E1B50 #482A7D #623AAB #815BC7 #A489D7

Accessibility & contrast

On white

7.74
#623AAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#623AAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623AAB
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623AAB#FFFFFF#000000##FFFFFF
##623AAB1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AE
Deuteranopia (green-blind)
#0051A9
Tritanopia (blue-blind)
#4F556D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #623aab;
/* rgb */ color: rgb(98, 58, 171);
/* oklch */ color: oklch(45.9% 0.172 295.0);
Tailwind
colors: {
  custom: {
    50: '#9473c5',
    500: '#623aab',
    950: '#000000',
  },
}
SCSS
$custom: #623aab;
$custom-light: #9473c5;
$custom-dark: #000000;
JSON
{
  "hex": "#623aab",
  "rgb": {
    "r": 98,
    "g": 58,
    "b": 171
  },
  "hsl": {
    "h": 261.239,
    "s": 49.345,
    "l": 44.902
  },
  "oklch": {
    "l": 0.45944,
    "c": 0.1715,
    "h": 295
  },
  "luminance": 0.08563
}

Semantic roles & 50–950 ramp

primary
#623AAB
secondary
#AAC180
accent
#D94FA8
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #623AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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