#623186#623186

#623186 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 41.9% C 0.140 H 308.0°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#623186
RGBrgb(98, 49, 134)
HSLhsl(275, 46%, 36%)
HSVhsv(275, 63%, 53%)
CMYKcmyk(26.9%, 63.4%, 0%, 47.5%)
CIE-LABlab(30.68, 38.25, -39.08)
CIE-LCHlch(30.68, 54.68, 314.38°)
OKLaboklab(41.88% 0.0863 -0.1103)
OKLCHoklch(41.88% 0.14 308)
XYZxyz(10.4375, 6.5147, 23.2572)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623186 #558631
analogous
#373186 #623186 #86317F
triadic
#623186 #866231 #318662
tetradic
#623186 #863731 #558631 #317F86
square
#623186 #863731 #558631 #317F86
split-complementary
#623186 #7F8631 #318637
monochromatic
#20102C #412159 #623186 #8341B3 #A069C8

Accessibility & contrast

On white

9.12
#623186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#623186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623186
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623186#FFFFFF#000000##FFFFFF
##6231861.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074689
Deuteranopia (green-blind)
#234984
Tritanopia (blue-blind)
#5D4257
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #623186;
/* rgb */ color: rgb(98, 49, 134);
/* oklch */ color: oklch(41.9% 0.140 308.0);
Tailwind
colors: {
  custom: {
    50: '#926caa',
    500: '#623186',
    950: '#000000',
  },
}
SCSS
$custom: #623186;
$custom-light: #926caa;
$custom-dark: #000000;
JSON
{
  "hex": "#623186",
  "rgb": {
    "r": 98,
    "g": 49,
    "b": 134
  },
  "hsl": {
    "h": 274.588,
    "s": 46.448,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41884,
    "c": 0.14004,
    "h": 308
  },
  "luminance": 0.06515
}

Semantic roles & 50–950 ramp

primary
#623186
secondary
#84B063
accent
#D6528A
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #623186

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

Preview Lab → · Contrast checker → · Palette generator →

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