#623291#623291

#623291 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.8% C 0.151 H 303.9°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#623291
RGBrgb(98, 50, 145)
HSLhsl(270, 49%, 38%)
HSVhsv(270, 66%, 57%)
CMYKcmyk(32.4%, 65.5%, 0%, 43.1%)
CIE-LABlab(31.63, 40.47, -44.34)
CIE-LCHlch(31.63, 60.03, 312.39°)
OKLaboklab(42.82% 0.0844 -0.1257)
OKLCHoklch(42.82% 0.151 303.9)
XYZxyz(11.2873, 6.9222, 27.5241)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623291 #619132
analogous
#323291 #623291 #913290
triadic
#623291 #916232 #329162
tetradic
#623291 #913232 #619132 #329091
square
#623291 #913232 #619132 #329091
split-complementary
#623291 #909132 #329132
monochromatic
#241336 #432263 #623291 #8142BE #9F70CE

Accessibility & contrast

On white

8.81
#623291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#623291 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623291
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623291#FFFFFF#000000##FFFFFF
##6232911.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004994
Deuteranopia (green-blind)
#164A8F
Tritanopia (blue-blind)
#59465D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #623291;
/* rgb */ color: rgb(98, 50, 145);
/* oklch */ color: oklch(42.8% 0.151 303.9);
Tailwind
colors: {
  custom: {
    50: '#926db2',
    500: '#623291',
    950: '#000000',
  },
}
SCSS
$custom: #623291;
$custom-light: #926db2;
$custom-dark: #000000;
JSON
{
  "hex": "#623291",
  "rgb": {
    "r": 98,
    "g": 50,
    "b": 145
  },
  "hsl": {
    "h": 270.316,
    "s": 48.718,
    "l": 38.235
  },
  "oklch": {
    "l": 0.42816,
    "c": 0.15146,
    "h": 303.9
  },
  "luminance": 0.06922
}

Semantic roles & 50–950 ramp

primary
#623291
secondary
#8FB569
accent
#D85093
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #623291

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

Preview Lab → · Contrast checker → · Palette generator →

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