#623A98#623A98

#623A98 is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.5% C 0.148 H 300.0°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#623A98
RGBrgb(98, 58, 152)
HSLhsl(266, 45%, 41%)
HSVhsv(266, 62%, 60%)
CMYKcmyk(35.5%, 61.8%, 0%, 40.4%)
CIE-LABlab(33.75, 37.88, -45.19)
CIE-LCHlch(33.75, 58.97, 309.97°)
OKLaboklab(44.51% 0.0741 -0.1283)
OKLCHoklch(44.51% 0.148 300)
XYZxyz(12.2162, 7.8897, 30.5789)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623A98 #70983A
analogous
#3A4198 #623A98 #913A98
triadic
#623A98 #98623A #3A9862
tetradic
#623A98 #983A41 #70983A #3A9891
square
#623A98 #983A41 #70983A #3A9891
split-complementary
#623A98 #98913A #41983A
monochromatic
#29183F #45296C #623A98 #8052BD #A07ECE

Accessibility & contrast

On white

8.15
#623A98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#623A98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623A98
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623A98#FFFFFF#000000##FFFFFF
##623A981.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9B
Deuteranopia (green-blind)
#194F96
Tritanopia (blue-blind)
#564E63
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #623a98;
/* rgb */ color: rgb(98, 58, 152);
/* oklch */ color: oklch(44.5% 0.148 300.0);
Tailwind
colors: {
  custom: {
    50: '#9272b7',
    500: '#623a98',
    950: '#000000',
  },
}
SCSS
$custom: #623a98;
$custom-light: #9272b7;
$custom-dark: #000000;
JSON
{
  "hex": "#623a98",
  "rgb": {
    "r": 98,
    "g": 58,
    "b": 152
  },
  "hsl": {
    "h": 265.532,
    "s": 44.762,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44511,
    "c": 0.14815,
    "h": 300
  },
  "luminance": 0.0789
}

Semantic roles & 50–950 ramp

primary
#623A98
secondary
#9CB876
accent
#D4539E
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #623A98

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

Preview Lab → · Contrast checker → · Palette generator →

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