#623996#623996

#623996 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.2% C 0.147 H 300.8°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#623996
RGBrgb(98, 57, 150)
HSLhsl(266, 45%, 41%)
HSVhsv(266, 62%, 59%)
CMYKcmyk(34.7%, 62%, 0%, 41.2%)
CIE-LABlab(33.40, 37.91, -44.54)
CIE-LCHlch(33.40, 58.49, 310.41°)
OKLaboklab(44.21% 0.0755 -0.1263)
OKLCHoklch(44.21% 0.147 300.8)
XYZxyz(12.0038, 7.7249, 29.7069)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623996 #6D9639
analogous
#393E96 #623996 #913996
triadic
#623996 #966239 #399662
tetradic
#623996 #96393E #6D9639 #399691
square
#623996 #96393E #6D9639 #399691
split-complementary
#623996 #969139 #3E9639
monochromatic
#28173D #45286A #623996 #8050BC #A07CCD

Accessibility & contrast

On white

8.25
#623996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #623996
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623996#FFFFFF#000000##FFFFFF
##6239961.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E99
Deuteranopia (green-blind)
#1A4E94
Tritanopia (blue-blind)
#574D62
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #623996;
/* rgb */ color: rgb(98, 57, 150);
/* oklch */ color: oklch(44.2% 0.147 300.8);
Tailwind
colors: {
  custom: {
    50: '#9271b5',
    500: '#623996',
    950: '#000000',
  },
}
SCSS
$custom: #623996;
$custom-light: #9271b5;
$custom-dark: #000000;
JSON
{
  "hex": "#623996",
  "rgb": {
    "r": 98,
    "g": 57,
    "b": 150
  },
  "hsl": {
    "h": 266.452,
    "s": 44.928,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44213,
    "c": 0.14716,
    "h": 300.8
  },
  "luminance": 0.07725
}

Semantic roles & 50–950 ramp

primary
#623996
secondary
#99B774
accent
#D5539C
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #623996

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

Preview Lab → · Contrast checker → · Palette generator →

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