#623386#623386

#623386 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.2% C 0.137 H 307.7°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#623386
RGBrgb(98, 51, 134)
HSLhsl(274, 45%, 36%)
HSVhsv(274, 62%, 53%)
CMYKcmyk(26.9%, 61.9%, 0%, 47.5%)
CIE-LABlab(31.08, 37.16, -38.43)
CIE-LCHlch(31.08, 53.45, 314.03°)
OKLaboklab(42.18% 0.0837 -0.1084)
OKLCHoklch(42.18% 0.137 307.7)
XYZxyz(10.5230, 6.6857, 23.2857)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623386 #578633
analogous
#393386 #623386 #863381
triadic
#623386 #866233 #338662
tetradic
#623386 #863933 #578633 #338186
square
#623386 #863933 #578633 #338186
split-complementary
#623386 #818633 #338639
monochromatic
#21112D #42225A #623386 #8244B2 #A06CC7

Accessibility & contrast

On white

8.99
#623386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#623386 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623386
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623386#FFFFFF#000000##FFFFFF
##6233861.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4789
Deuteranopia (green-blind)
#264A84
Tritanopia (blue-blind)
#5C4357
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #623386;
/* rgb */ color: rgb(98, 51, 134);
/* oklch */ color: oklch(42.2% 0.137 307.7);
Tailwind
colors: {
  custom: {
    50: '#916daa',
    500: '#623386',
    950: '#000000',
  },
}
SCSS
$custom: #623386;
$custom-light: #916daa;
$custom-dark: #000000;
JSON
{
  "hex": "#623386",
  "rgb": {
    "r": 98,
    "g": 51,
    "b": 134
  },
  "hsl": {
    "h": 273.976,
    "s": 44.865,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42178,
    "c": 0.13693,
    "h": 307.7
  },
  "luminance": 0.06686
}

Semantic roles & 50–950 ramp

primary
#623386
secondary
#86AF66
accent
#D5538B
background
#F9F6FA
surface
#F1ECF4
border
#CBC7CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #623386

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

Preview Lab → · Contrast checker → · Palette generator →

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