#623BAC#623BAC

#623BAC is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.2% C 0.171 H 294.6°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#623BAC
RGBrgb(98, 59, 172)
HSLhsl(261, 49%, 45%)
HSVhsv(261, 66%, 67%)
CMYKcmyk(43%, 65.7%, 0%, 32.5%)
CIE-LABlab(35.41, 42.77, -54.56)
CIE-LCHlch(35.41, 69.33, 308.09°)
OKLaboklab(46.17% 0.0714 -0.1558)
OKLCHoklch(46.17% 0.171 294.6)
XYZxyz(14.0454, 8.7028, 39.9615)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623BAC #85AC3B
analogous
#3B4CAC #623BAC #9A3BAC
triadic
#623BAC #AC623B #3BAC62
tetradic
#623BAC #AC3B4C #85AC3B #3BAC9A
square
#623BAC #AC3B4C #85AC3B #3BAC9A
split-complementary
#623BAC #AC9A3B #4CAC3B
monochromatic
#2E1C51 #482B7E #623BAC #825DC7 #A58AD7

Accessibility & contrast

On white

7.66
#623BAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#623BAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623BAC
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623BAC#FFFFFF#000000##FFFFFF
##623BAC1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AF
Deuteranopia (green-blind)
#0051AA
Tritanopia (blue-blind)
#4E566E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #623bac;
/* rgb */ color: rgb(98, 59, 172);
/* oklch */ color: oklch(46.2% 0.171 294.6);
Tailwind
colors: {
  custom: {
    50: '#9473c6',
    500: '#623bac',
    950: '#000000',
  },
}
SCSS
$custom: #623bac;
$custom-light: #9473c6;
$custom-dark: #000000;
JSON
{
  "hex": "#623bac",
  "rgb": {
    "r": 98,
    "g": 59,
    "b": 172
  },
  "hsl": {
    "h": 260.708,
    "s": 48.918,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46168,
    "c": 0.1714,
    "h": 294.6
  },
  "luminance": 0.08703
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #623BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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