#623A9E#623A9E

#623A9E is a dark, vivid violet. Relative luminance 0.081; OKLCH L 45.0% C 0.156 H 298.3°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#623A9E
RGBrgb(98, 58, 158)
HSLhsl(264, 46%, 42%)
HSVhsv(264, 63%, 62%)
CMYKcmyk(38%, 63.3%, 0%, 38%)
CIE-LABlab(34.17, 39.49, -48.15)
CIE-LCHlch(34.17, 62.28, 309.36°)
OKLaboklab(44.95% 0.0738 -0.137)
OKLCHoklch(44.95% 0.156 298.3)
XYZxyz(12.7201, 8.0912, 33.2327)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623A9E #769E3A
analogous
#3A449E #623A9E #943A9E
triadic
#623A9E #9E623A #3A9E62
tetradic
#623A9E #9E3A44 #769E3A #3A9E94
square
#623A9E #9E3A44 #769E3A #3A9E94
split-complementary
#623A9E #9E943A #449E3A
monochromatic
#2A1944 #462A71 #623A9E #8055C0 #A181D1

Accessibility & contrast

On white

8.02
#623A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#623A9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623A9E
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623A9E#FFFFFF#000000##FFFFFF
##623A9E1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A1
Deuteranopia (green-blind)
#0B4F9C
Tritanopia (blue-blind)
#545066
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #623a9e;
/* rgb */ color: rgb(98, 58, 158);
/* oklch */ color: oklch(45.0% 0.156 298.3);
Tailwind
colors: {
  custom: {
    50: '#9372bb',
    500: '#623a9e',
    950: '#000000',
  },
}
SCSS
$custom: #623a9e;
$custom-light: #9372bb;
$custom-dark: #000000;
JSON
{
  "hex": "#623a9e",
  "rgb": {
    "r": 98,
    "g": 58,
    "b": 158
  },
  "hsl": {
    "h": 264,
    "s": 46.296,
    "l": 42.353
  },
  "oklch": {
    "l": 0.4495,
    "c": 0.15559,
    "h": 298.3
  },
  "luminance": 0.08091
}

Semantic roles & 50–950 ramp

primary
#623A9E
secondary
#A0BB79
accent
#D652A1
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0D0812
muted
#7E7B81

Preview Lab

Preview with #623A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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