#623BAB#623BAB

#623BAB is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.1% C 0.170 H 294.8°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#623BAB
RGBrgb(98, 59, 171)
HSLhsl(261, 49%, 45%)
HSVhsv(261, 65%, 67%)
CMYKcmyk(42.7%, 65.5%, 0%, 32.9%)
CIE-LABlab(35.33, 42.49, -54.09)
CIE-LCHlch(35.33, 68.78, 308.15°)
OKLaboklab(46.09% 0.0715 -0.1544)
OKLCHoklch(46.09% 0.17 294.8)
XYZxyz(13.9497, 8.6645, 39.4576)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623BAB #84AB3B
analogous
#3B4CAB #623BAB #9A3BAB
triadic
#623BAB #AB623B #3BAB62
tetradic
#623BAB #AB3B4C #84AB3B #3BAB9A
square
#623BAB #AB3B4C #84AB3B #3BAB9A
split-complementary
#623BAB #AB9A3B #4CAB3B
monochromatic
#2E1C50 #482B7D #623BAB #815CC7 #A58AD7

Accessibility & contrast

On white

7.68
#623BAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#623BAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623BAB
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623BAB#FFFFFF#000000##FFFFFF
##623BAB1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #623bab;
/* rgb */ color: rgb(98, 59, 171);
/* oklch */ color: oklch(46.1% 0.170 294.8);
Tailwind
colors: {
  custom: {
    50: '#9473c5',
    500: '#623bab',
    950: '#000000',
  },
}
SCSS
$custom: #623bab;
$custom-light: #9473c5;
$custom-dark: #000000;
JSON
{
  "hex": "#623bab",
  "rgb": {
    "r": 98,
    "g": 59,
    "b": 171
  },
  "hsl": {
    "h": 260.893,
    "s": 48.696,
    "l": 45.098
  },
  "oklch": {
    "l": 0.4609,
    "c": 0.17017,
    "h": 294.8
  },
  "luminance": 0.08665
}

Semantic roles & 50–950 ramp

primary
#623BAB
secondary
#ABC181
accent
#D850A9
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #623BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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