#623797#623797

#623797 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.0% C 0.151 H 301.0°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#623797
RGBrgb(98, 55, 151)
HSLhsl(267, 47%, 40%)
HSVhsv(267, 64%, 59%)
CMYKcmyk(35.1%, 63.6%, 0%, 40.8%)
CIE-LABlab(33.06, 39.30, -45.71)
CIE-LCHlch(33.06, 60.28, 310.69°)
OKLaboklab(43.98% 0.0779 -0.1298)
OKLCHoklch(43.98% 0.151 301)
XYZxyz(11.9878, 7.5633, 30.1005)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623797 #6C9737
analogous
#373C97 #623797 #923797
triadic
#623797 #976237 #379762
tetradic
#623797 #97373C #6C9737 #379792
square
#623797 #97373C #6C9737 #379792
split-complementary
#623797 #979237 #3C9737
monochromatic
#28163D #45276A #623797 #804DBE #A07ACF

Accessibility & contrast

On white

8.36
#623797 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#623797 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623797
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623797#FFFFFF#000000##FFFFFF
##6237971.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9A
Deuteranopia (green-blind)
#144D95
Tritanopia (blue-blind)
#574C62
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #623797;
/* rgb */ color: rgb(98, 55, 151);
/* oklch */ color: oklch(44.0% 0.151 301.0);
Tailwind
colors: {
  custom: {
    50: '#9370b6',
    500: '#623797',
    950: '#000000',
  },
}
SCSS
$custom: #623797;
$custom-light: #9370b6;
$custom-dark: #000000;
JSON
{
  "hex": "#623797",
  "rgb": {
    "r": 98,
    "g": 55,
    "b": 151
  },
  "hsl": {
    "h": 266.875,
    "s": 46.602,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43983,
    "c": 0.15136,
    "h": 301
  },
  "luminance": 0.07563
}

Semantic roles & 50–950 ramp

primary
#623797
secondary
#99B872
accent
#D6529B
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #623797

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

Preview Lab → · Contrast checker → · Palette generator →

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