#623786#623786

#623786 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 42.8% C 0.131 H 306.8°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#623786
RGBrgb(98, 55, 134)
HSLhsl(273, 42%, 37%)
HSVhsv(273, 59%, 53%)
CMYKcmyk(26.9%, 59%, 0%, 47.5%)
CIE-LABlab(31.92, 34.91, -37.08)
CIE-LCHlch(31.92, 50.93, 313.27°)
OKLaboklab(42.79% 0.0782 -0.1045)
OKLCHoklch(42.79% 0.131 306.8)
XYZxyz(10.7054, 7.0504, 23.3465)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623786 #5B8637
analogous
#3A3786 #623786 #863783
triadic
#623786 #866237 #378662
tetradic
#623786 #863A37 #5B8637 #378386
square
#623786 #863A37 #5B8637 #378386
split-complementary
#623786 #838637 #37863A
monochromatic
#23132F #42255B #623786 #8249B1 #9F72C5

Accessibility & contrast

On white

8.71
#623786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#623786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623786
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623786#FFFFFF#000000##FFFFFF
##6237861.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194A89
Deuteranopia (green-blind)
#2A4B84
Tritanopia (blue-blind)
#5C4659
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #623786;
/* rgb */ color: rgb(98, 55, 134);
/* oklch */ color: oklch(42.8% 0.131 306.8);
Tailwind
colors: {
  custom: {
    50: '#9170aa',
    500: '#623786',
    950: '#000000',
  },
}
SCSS
$custom: #623786;
$custom-light: #9170aa;
$custom-dark: #000000;
JSON
{
  "hex": "#623786",
  "rgb": {
    "r": 98,
    "g": 55,
    "b": 134
  },
  "hsl": {
    "h": 272.658,
    "s": 41.799,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42792,
    "c": 0.13052,
    "h": 306.8
  },
  "luminance": 0.0705
}

Semantic roles & 50–950 ramp

primary
#623786
secondary
#89AE6B
accent
#D2568E
background
#F9F6FA
surface
#F1ECF4
border
#CBC7CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #623786

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

Preview Lab → · Contrast checker → · Palette generator →

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