#623987#623987

#623987 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.2% C 0.128 H 306.0°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#623987
RGBrgb(98, 57, 135)
HSLhsl(272, 41%, 38%)
HSVhsv(272, 58%, 53%)
CMYKcmyk(27.4%, 57.8%, 0%, 47.1%)
CIE-LABlab(32.42, 34.01, -36.91)
CIE-LCHlch(32.42, 50.19, 312.66°)
OKLaboklab(43.18% 0.0755 -0.104)
OKLCHoklch(43.18% 0.128 306)
XYZxyz(10.8724, 7.2723, 23.7479)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623987 #5E8739
analogous
#3B3987 #623987 #873985
triadic
#623987 #876239 #398762
tetradic
#623987 #873B39 #5E8739 #398587
square
#623987 #873B39 #5E8739 #398587
split-complementary
#623987 #858739 #39873B
monochromatic
#241531 #43275C #623987 #814BB2 #9F75C5

Accessibility & contrast

On white

8.56
#623987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#623987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623987
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623987#FFFFFF#000000##FFFFFF
##6239871.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4B8A
Deuteranopia (green-blind)
#2C4C85
Tritanopia (blue-blind)
#5C485A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #623987;
/* rgb */ color: rgb(98, 57, 135);
/* oklch */ color: oklch(43.2% 0.128 306.0);
Tailwind
colors: {
  custom: {
    50: '#9171aa',
    500: '#623987',
    950: '#000000',
  },
}
SCSS
$custom: #623987;
$custom-light: #9171aa;
$custom-dark: #000000;
JSON
{
  "hex": "#623987",
  "rgb": {
    "r": 98,
    "g": 57,
    "b": 135
  },
  "hsl": {
    "h": 271.538,
    "s": 40.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43177,
    "c": 0.12848,
    "h": 306
  },
  "luminance": 0.07272
}

Semantic roles & 50–950 ramp

primary
#623987
secondary
#8CAE6E
accent
#D05791
background
#F9F6FA
surface
#F1ECF4
border
#CBC7CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #623987

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

Preview Lab → · Contrast checker → · Palette generator →

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