#623496#623496

#623496 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.5% C 0.155 H 301.9°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#623496
RGBrgb(98, 52, 150)
HSLhsl(268, 49%, 40%)
HSVhsv(268, 65%, 59%)
CMYKcmyk(34.7%, 65.3%, 0%, 41.2%)
CIE-LABlab(32.38, 40.68, -46.19)
CIE-LCHlch(32.38, 61.55, 311.37°)
OKLaboklab(43.47% 0.0816 -0.1312)
OKLCHoklch(43.47% 0.155 301.9)
XYZxyz(11.7687, 7.2546, 29.6285)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623496 #689634
analogous
#343796 #623496 #933496
triadic
#623496 #966234 #349662
tetradic
#623496 #963437 #689634 #349693
square
#623496 #963437 #689634 #349693
split-complementary
#623496 #969334 #379634
monochromatic
#27143B #442469 #623496 #8048BF #9F75CF

Accessibility & contrast

On white

8.57
#623496 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#623496 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623496
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623496#FFFFFF#000000##FFFFFF
##6234961.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B99
Deuteranopia (green-blind)
#0F4C94
Tritanopia (blue-blind)
#574960
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #623496;
/* rgb */ color: rgb(98, 52, 150);
/* oklch */ color: oklch(43.5% 0.155 301.9);
Tailwind
colors: {
  custom: {
    50: '#936eb5',
    500: '#623496',
    950: '#000000',
  },
}
SCSS
$custom: #623496;
$custom-light: #936eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#623496",
  "rgb": {
    "r": 98,
    "g": 52,
    "b": 150
  },
  "hsl": {
    "h": 268.163,
    "s": 48.515,
    "l": 39.608
  },
  "oklch": {
    "l": 0.43471,
    "c": 0.15451,
    "h": 301.9
  },
  "luminance": 0.07255
}

Semantic roles & 50–950 ramp

primary
#623496
secondary
#95B86E
accent
#D85098
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #623496

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

Preview Lab → · Contrast checker → · Palette generator →

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