#623798#623798

#623798 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.1% C 0.153 H 300.7°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#623798
RGBrgb(98, 55, 152)
HSLhsl(267, 47%, 41%)
HSVhsv(267, 64%, 60%)
CMYKcmyk(35.5%, 63.8%, 0%, 40.4%)
CIE-LABlab(33.13, 39.56, -46.20)
CIE-LCHlch(33.13, 60.83, 310.57°)
OKLaboklab(44.06% 0.0778 -0.1312)
OKLCHoklch(44.06% 0.153 300.7)
XYZxyz(12.0693, 7.5960, 30.5300)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623798 #6D9837
analogous
#373C98 #623798 #923798
triadic
#623798 #986237 #379862
tetradic
#623798 #98373C #6D9837 #379892
square
#623798 #98373C #6D9837 #379892
split-complementary
#623798 #989237 #3C9837
monochromatic
#28163E #45276B #623798 #804DBF #A07ACF

Accessibility & contrast

On white

8.34
#623798 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#623798 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623798
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623798#FFFFFF#000000##FFFFFF
##6237981.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9B
Deuteranopia (green-blind)
#124D96
Tritanopia (blue-blind)
#574C62
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #623798;
/* rgb */ color: rgb(98, 55, 152);
/* oklch */ color: oklch(44.1% 0.153 300.7);
Tailwind
colors: {
  custom: {
    50: '#9370b7',
    500: '#623798',
    950: '#000000',
  },
}
SCSS
$custom: #623798;
$custom-light: #9370b7;
$custom-dark: #000000;
JSON
{
  "hex": "#623798",
  "rgb": {
    "r": 98,
    "g": 55,
    "b": 152
  },
  "hsl": {
    "h": 266.598,
    "s": 46.86,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44057,
    "c": 0.15258,
    "h": 300.7
  },
  "luminance": 0.07596
}

Semantic roles & 50–950 ramp

primary
#623798
secondary
#99B873
accent
#D6519B
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #623798

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

Preview Lab → · Contrast checker → · Palette generator →

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