#623698#623698

#623698 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 43.9% C 0.154 H 300.9°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#623698
RGBrgb(98, 54, 152)
HSLhsl(267, 48%, 40%)
HSVhsv(267, 64%, 60%)
CMYKcmyk(35.5%, 64.5%, 0%, 40.4%)
CIE-LABlab(32.92, 40.11, -46.53)
CIE-LCHlch(32.92, 61.43, 310.76°)
OKLaboklab(43.91% 0.079 -0.1322)
OKLCHoklch(43.91% 0.154 300.9)
XYZxyz(12.0223, 7.5019, 30.5143)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623698 #6C9836
analogous
#363B98 #623698 #933698
triadic
#623698 #986236 #369862
tetradic
#623698 #98363B #6C9836 #369893
square
#623698 #98363B #6C9836 #369893
split-complementary
#623698 #989336 #3B9836
monochromatic
#28163E #45266B #623698 #804CBF #A079CF

Accessibility & contrast

On white

8.40
#623698 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#623698 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623698
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623698#FFFFFF#000000##FFFFFF
##6236981.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9B
Deuteranopia (green-blind)
#104D96
Tritanopia (blue-blind)
#574B62
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #623698;
/* rgb */ color: rgb(98, 54, 152);
/* oklch */ color: oklch(43.9% 0.154 300.9);
Tailwind
colors: {
  custom: {
    50: '#9370b7',
    500: '#623698',
    950: '#000000',
  },
}
SCSS
$custom: #623698;
$custom-light: #9370b7;
$custom-dark: #000000;
JSON
{
  "hex": "#623698",
  "rgb": {
    "r": 98,
    "g": 54,
    "b": 152
  },
  "hsl": {
    "h": 266.939,
    "s": 47.573,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43909,
    "c": 0.15403,
    "h": 300.9
  },
  "luminance": 0.07502
}

Semantic roles & 50–950 ramp

primary
#623698
secondary
#99B872
accent
#D7519B
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #623698

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

Preview Lab → · Contrast checker → · Palette generator →

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