#623787#623787

#623787 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 42.9% C 0.132 H 306.4°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#623787
RGBrgb(98, 55, 135)
HSLhsl(272, 42%, 37%)
HSVhsv(272, 59%, 53%)
CMYKcmyk(27.4%, 59.3%, 0%, 47.1%)
CIE-LABlab(31.98, 35.16, -37.60)
CIE-LCHlch(31.98, 51.48, 313.08°)
OKLaboklab(42.86% 0.0783 -0.106)
OKLCHoklch(42.86% 0.132 306.4)
XYZxyz(10.7754, 7.0784, 23.7156)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623787 #5C8737
analogous
#3A3787 #623787 #873784
triadic
#623787 #876237 #378762
tetradic
#623787 #873A37 #5C8737 #378487
square
#623787 #873A37 #5C8737 #378487
split-complementary
#623787 #848737 #37873A
monochromatic
#231430 #42255C #623787 #8249B2 #9F73C6

Accessibility & contrast

On white

8.69
#623787 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#623787 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623787
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623787#FFFFFF#000000##FFFFFF
##6237871.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184A8A
Deuteranopia (green-blind)
#294C85
Tritanopia (blue-blind)
#5C4659
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #623787;
/* rgb */ color: rgb(98, 55, 135);
/* oklch */ color: oklch(42.9% 0.132 306.4);
Tailwind
colors: {
  custom: {
    50: '#9170aa',
    500: '#623787',
    950: '#000000',
  },
}
SCSS
$custom: #623787;
$custom-light: #9170aa;
$custom-dark: #000000;
JSON
{
  "hex": "#623787",
  "rgb": {
    "r": 98,
    "g": 55,
    "b": 135
  },
  "hsl": {
    "h": 272.25,
    "s": 42.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.42859,
    "c": 0.13175,
    "h": 306.4
  },
  "luminance": 0.07078
}

Semantic roles & 50–950 ramp

primary
#623787
secondary
#8AAF6B
accent
#D2568F
background
#F9F6FA
surface
#F1ECF4
border
#CBC7CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #623787

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

Preview Lab → · Contrast checker → · Palette generator →

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