#623887#623887

#623887 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.0% C 0.130 H 306.2°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#623887
RGBrgb(98, 56, 135)
HSLhsl(272, 41%, 37%)
HSVhsv(272, 59%, 53%)
CMYKcmyk(27.4%, 58.5%, 0%, 47.1%)
CIE-LABlab(32.20, 34.59, -37.26)
CIE-LCHlch(32.20, 50.84, 312.87°)
OKLaboklab(43.02% 0.0769 -0.105)
OKLCHoklch(43.02% 0.13 306.2)
XYZxyz(10.8234, 7.1744, 23.7316)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623887 #5D8738
analogous
#3B3887 #623887 #873884
triadic
#623887 #876238 #388762
tetradic
#623887 #873B38 #5D8738 #388487
square
#623887 #873B38 #5D8738 #388487
split-complementary
#623887 #848738 #38873B
monochromatic
#231430 #43265C #623887 #814AB2 #9F74C5

Accessibility & contrast

On white

8.62
#623887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#623887 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623887
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623887#FFFFFF#000000##FFFFFF
##6238871.008.622.438.62
#FFFFFF8.621.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #623887;
/* rgb */ color: rgb(98, 56, 135);
/* oklch */ color: oklch(43.0% 0.130 306.2);
Tailwind
colors: {
  custom: {
    50: '#9170aa',
    500: '#623887',
    950: '#000000',
  },
}
SCSS
$custom: #623887;
$custom-light: #9170aa;
$custom-dark: #000000;
JSON
{
  "hex": "#623887",
  "rgb": {
    "r": 98,
    "g": 56,
    "b": 135
  },
  "hsl": {
    "h": 271.899,
    "s": 41.361,
    "l": 37.451
  },
  "oklch": {
    "l": 0.43017,
    "c": 0.13013,
    "h": 306.2
  },
  "luminance": 0.07174
}

Semantic roles & 50–950 ramp

primary
#623887
secondary
#8BAE6D
accent
#D15790
background
#F9F6FA
surface
#F1ECF4
border
#CBC7CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #623887

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

Preview Lab → · Contrast checker → · Palette generator →

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