#623986#623986

#623986 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.1% C 0.127 H 306.4°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#623986
RGBrgb(98, 57, 134)
HSLhsl(272, 40%, 37%)
HSVhsv(272, 57%, 53%)
CMYKcmyk(26.9%, 57.5%, 0%, 47.5%)
CIE-LABlab(32.36, 33.76, -36.39)
CIE-LCHlch(32.36, 49.64, 312.85°)
OKLaboklab(43.11% 0.0755 -0.1024)
OKLCHoklch(43.11% 0.127 306.4)
XYZxyz(10.8023, 7.2443, 23.3788)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623986 #5D8639
analogous
#3C3986 #623986 #863984
triadic
#623986 #866239 #398662
tetradic
#623986 #863C39 #5D8639 #398486
square
#623986 #863C39 #5D8639 #398486
split-complementary
#623986 #848639 #39863C
monochromatic
#231430 #43275B #623986 #814BB1 #9F75C4

Accessibility & contrast

On white

8.58
#623986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #623986
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623986#FFFFFF#000000##FFFFFF
##6239861.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4B89
Deuteranopia (green-blind)
#2D4C84
Tritanopia (blue-blind)
#5C475A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #623986;
/* rgb */ color: rgb(98, 57, 134);
/* oklch */ color: oklch(43.1% 0.127 306.4);
Tailwind
colors: {
  custom: {
    50: '#9171aa',
    500: '#623986',
    950: '#000000',
  },
}
SCSS
$custom: #623986;
$custom-light: #9171aa;
$custom-dark: #000000;
JSON
{
  "hex": "#623986",
  "rgb": {
    "r": 98,
    "g": 57,
    "b": 134
  },
  "hsl": {
    "h": 271.948,
    "s": 40.314,
    "l": 37.451
  },
  "oklch": {
    "l": 0.43112,
    "c": 0.12723,
    "h": 306.4
  },
  "luminance": 0.07244
}

Semantic roles & 50–950 ramp

primary
#623986
secondary
#8BAD6D
accent
#D05890
background
#F9F6FA
surface
#F1ECF4
border
#CBC7CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #623986

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

Preview Lab → · Contrast checker → · Palette generator →

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