#623BA6#623BA6

#623BA6 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 45.7% C 0.164 H 296.0°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#623BA6
RGBrgb(98, 59, 166)
HSLhsl(262, 48%, 44%)
HSVhsv(262, 64%, 65%)
CMYKcmyk(41%, 64.5%, 0%, 34.9%)
CIE-LABlab(34.96, 41.11, -51.70)
CIE-LCHlch(34.96, 66.05, 308.49°)
OKLaboklab(45.7% 0.072 -0.1474)
OKLCHoklch(45.7% 0.164 296)
XYZxyz(13.4821, 8.4775, 36.9950)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623BA6 #7FA63B
analogous
#3B4AA6 #623BA6 #983BA6
triadic
#623BA6 #A6623B #3BA662
tetradic
#623BA6 #A63B4A #7FA63B #3BA698
square
#623BA6 #A63B4A #7FA63B #3BA698
split-complementary
#623BA6 #A6983B #4AA63B
monochromatic
#2D1B4C #472B79 #623BA6 #815AC4 #A387D4

Accessibility & contrast

On white

7.79
#623BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#623BA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623BA6
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623BA6#FFFFFF#000000##FFFFFF
##623BA61.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A9
Deuteranopia (green-blind)
#0051A4
Tritanopia (blue-blind)
#51536B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #623ba6;
/* rgb */ color: rgb(98, 59, 166);
/* oklch */ color: oklch(45.7% 0.164 296.0);
Tailwind
colors: {
  custom: {
    50: '#9473c1',
    500: '#623ba6',
    950: '#000000',
  },
}
SCSS
$custom: #623ba6;
$custom-light: #9473c1;
$custom-dark: #000000;
JSON
{
  "hex": "#623ba6",
  "rgb": {
    "r": 98,
    "g": 59,
    "b": 166
  },
  "hsl": {
    "h": 261.869,
    "s": 47.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45703,
    "c": 0.16405,
    "h": 296
  },
  "luminance": 0.08478
}

Semantic roles & 50–950 ramp

primary
#623BA6
secondary
#A7BF7E
accent
#D751A6
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #623BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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