#623998#623998

#623998 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.4% C 0.150 H 300.2°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#623998
RGBrgb(98, 57, 152)
HSLhsl(266, 45%, 41%)
HSVhsv(266, 63%, 60%)
CMYKcmyk(35.5%, 62.5%, 0%, 40.4%)
CIE-LABlab(33.54, 38.45, -45.53)
CIE-LCHlch(33.54, 59.59, 310.18°)
OKLaboklab(44.36% 0.0754 -0.1293)
OKLCHoklch(44.36% 0.15 300.2)
XYZxyz(12.1663, 7.7898, 30.5623)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623998 #6F9839
analogous
#393F98 #623998 #913998
triadic
#623998 #986239 #399862
tetradic
#623998 #98393F #6F9839 #399891
square
#623998 #98393F #6F9839 #399891
split-complementary
#623998 #989139 #3F9839
monochromatic
#29183F #45286B #623998 #8051BE #A07DCE

Accessibility & contrast

On white

8.21
#623998 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#623998 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623998
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623998#FFFFFF#000000##FFFFFF
##6239981.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9B
Deuteranopia (green-blind)
#174E96
Tritanopia (blue-blind)
#564D63
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #623998;
/* rgb */ color: rgb(98, 57, 152);
/* oklch */ color: oklch(44.4% 0.150 300.2);
Tailwind
colors: {
  custom: {
    50: '#9371b7',
    500: '#623998',
    950: '#000000',
  },
}
SCSS
$custom: #623998;
$custom-light: #9371b7;
$custom-dark: #000000;
JSON
{
  "hex": "#623998",
  "rgb": {
    "r": 98,
    "g": 57,
    "b": 152
  },
  "hsl": {
    "h": 265.895,
    "s": 45.455,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44357,
    "c": 0.14964,
    "h": 300.2
  },
  "luminance": 0.0779
}

Semantic roles & 50–950 ramp

primary
#623998
secondary
#9BB875
accent
#D5539D
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #623998

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

Preview Lab → · Contrast checker → · Palette generator →

#623998 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva