#623388#623388

#623388 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.3% C 0.139 H 306.9°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#623388
RGBrgb(98, 51, 136)
HSLhsl(273, 45%, 37%)
HSVhsv(273, 63%, 53%)
CMYKcmyk(27.9%, 62.5%, 0%, 46.7%)
CIE-LABlab(31.21, 37.65, -39.46)
CIE-LCHlch(31.21, 54.54, 313.66°)
OKLaboklab(42.32% 0.0836 -0.1114)
OKLCHoklch(42.32% 0.139 306.9)
XYZxyz(10.6638, 6.7420, 24.0273)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623388 #598833
analogous
#373388 #623388 #883384
triadic
#623388 #886233 #338862
tetradic
#623388 #883733 #598833 #338488
square
#623388 #883733 #598833 #338488
split-complementary
#623388 #848833 #338837
monochromatic
#22122F #42225B #623388 #8244B5 #A06DC8

Accessibility & contrast

On white

8.94
#623388 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#623388 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623388
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623388#FFFFFF#000000##FFFFFF
##6233881.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A488B
Deuteranopia (green-blind)
#244A86
Tritanopia (blue-blind)
#5C4458
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #623388;
/* rgb */ color: rgb(98, 51, 136);
/* oklch */ color: oklch(42.3% 0.139 306.9);
Tailwind
colors: {
  custom: {
    50: '#926dab',
    500: '#623388',
    950: '#000000',
  },
}
SCSS
$custom: #623388;
$custom-light: #926dab;
$custom-dark: #000000;
JSON
{
  "hex": "#623388",
  "rgb": {
    "r": 98,
    "g": 51,
    "b": 136
  },
  "hsl": {
    "h": 273.176,
    "s": 45.455,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42316,
    "c": 0.13931,
    "h": 306.9
  },
  "luminance": 0.06742
}

Semantic roles & 50–950 ramp

primary
#623388
secondary
#88B067
accent
#D5538D
background
#F9F6FA
surface
#F1ECF4
border
#CBC7CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #623388

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

Preview Lab → · Contrast checker → · Palette generator →

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