#623997#623997

#623997 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.3% C 0.148 H 300.5°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#623997
RGBrgb(98, 57, 151)
HSLhsl(266, 45%, 41%)
HSVhsv(266, 62%, 59%)
CMYKcmyk(35.1%, 62.3%, 0%, 40.8%)
CIE-LABlab(33.47, 38.18, -45.04)
CIE-LCHlch(33.47, 59.04, 310.29°)
OKLaboklab(44.29% 0.0754 -0.1278)
OKLCHoklch(44.29% 0.148 300.5)
XYZxyz(12.0847, 7.7572, 30.1328)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623997 #6E9739
analogous
#393F97 #623997 #913997
triadic
#623997 #976239 #399762
tetradic
#623997 #97393F #6E9739 #399791
square
#623997 #97393F #6E9739 #399791
split-complementary
#623997 #979139 #3F9739
monochromatic
#28173E #45286B #623997 #8050BD #A07DCE

Accessibility & contrast

On white

8.23
#623997 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#623997 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623997
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623997#FFFFFF#000000##FFFFFF
##6239971.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#194E95
Tritanopia (blue-blind)
#574D62
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #623997;
/* rgb */ color: rgb(98, 57, 151);
/* oklch */ color: oklch(44.3% 0.148 300.5);
Tailwind
colors: {
  custom: {
    50: '#9271b6',
    500: '#623997',
    950: '#000000',
  },
}
SCSS
$custom: #623997;
$custom-light: #9271b6;
$custom-dark: #000000;
JSON
{
  "hex": "#623997",
  "rgb": {
    "r": 98,
    "g": 57,
    "b": 151
  },
  "hsl": {
    "h": 266.17,
    "s": 45.192,
    "l": 40.784
  },
  "oklch": {
    "l": 0.44285,
    "c": 0.14841,
    "h": 300.5
  },
  "luminance": 0.07757
}

Semantic roles & 50–950 ramp

primary
#623997
secondary
#9AB775
accent
#D5539C
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #623997

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

Preview Lab → · Contrast checker → · Palette generator →

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