#623F87#623F87

#623F87 is a dark, moderate violet. Relative luminance 0.079; OKLCH L 44.2% C 0.118 H 304.5°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#623F87
RGBrgb(98, 63, 135)
HSLhsl(269, 36%, 39%)
HSVhsv(269, 53%, 53%)
CMYKcmyk(27.4%, 53.3%, 0%, 47.1%)
CIE-LABlab(33.78, 30.48, -34.74)
CIE-LCHlch(33.78, 46.22, 311.26°)
OKLaboklab(44.18% 0.067 -0.0976)
OKLCHoklch(44.18% 0.118 304.5)
XYZxyz(11.1867, 7.9010, 23.8527)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623F87 #64873F
analogous
#3F4087 #623F87 #863F87
triadic
#623F87 #87623F #3F8762
tetradic
#623F87 #873F40 #64873F #3F8786
square
#623F87 #873F40 #64873F #3F8786
split-complementary
#623F87 #87863F #40873F
monochromatic
#251834 #442C5D #623F87 #8054AF #9F7EC3

Accessibility & contrast

On white

8.14
#623F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#623F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623F87
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623F87#FFFFFF#000000##FFFFFF
##623F871.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284E89
Deuteranopia (green-blind)
#324F85
Tritanopia (blue-blind)
#5C4C5D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #623f87;
/* rgb */ color: rgb(98, 63, 135);
/* oklch */ color: oklch(44.2% 0.118 304.5);
Tailwind
colors: {
  custom: {
    50: '#9175aa',
    500: '#623f87',
    950: '#000000',
  },
}
SCSS
$custom: #623f87;
$custom-light: #9175aa;
$custom-dark: #000000;
JSON
{
  "hex": "#623f87",
  "rgb": {
    "r": 98,
    "g": 63,
    "b": 135
  },
  "hsl": {
    "h": 269.167,
    "s": 36.364,
    "l": 38.824
  },
  "oklch": {
    "l": 0.44179,
    "c": 0.11842,
    "h": 304.5
  },
  "luminance": 0.07901
}

Semantic roles & 50–950 ramp

primary
#623F87
secondary
#92AD75
accent
#CC5B95
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #623F87

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

Preview Lab → · Contrast checker → · Palette generator →

#623F87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva