#623D87#623D87

#623D87 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 43.8% C 0.122 H 305.0°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#623D87
RGBrgb(98, 61, 135)
HSLhsl(270, 38%, 38%)
HSVhsv(270, 55%, 53%)
CMYKcmyk(27.4%, 54.8%, 0%, 47.1%)
CIE-LABlab(33.31, 31.67, -35.48)
CIE-LCHlch(33.31, 47.56, 311.76°)
OKLaboklab(43.84% 0.0699 -0.0998)
OKLCHoklch(43.84% 0.122 305)
XYZxyz(11.0780, 7.6835, 23.8164)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623D87 #62873D
analogous
#3D3D87 #623D87 #873D87
triadic
#623D87 #87623D #3D8762
tetradic
#623D87 #873D3D #62873D #3D8787
square
#623D87 #873D3D #62873D #3D8787
split-complementary
#623D87 #87873D #3D873D
monochromatic
#251733 #432A5D #623D87 #8151B0 #9F7BC3

Accessibility & contrast

On white

8.28
#623D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#623D87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623D87
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623D87#FFFFFF#000000##FFFFFF
##623D871.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254D8A
Deuteranopia (green-blind)
#304E85
Tritanopia (blue-blind)
#5C4B5C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #623d87;
/* rgb */ color: rgb(98, 61, 135);
/* oklch */ color: oklch(43.8% 0.122 305.0);
Tailwind
colors: {
  custom: {
    50: '#9174aa',
    500: '#623d87',
    950: '#000000',
  },
}
SCSS
$custom: #623d87;
$custom-light: #9174aa;
$custom-dark: #000000;
JSON
{
  "hex": "#623d87",
  "rgb": {
    "r": 98,
    "g": 61,
    "b": 135
  },
  "hsl": {
    "h": 270,
    "s": 37.755,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43837,
    "c": 0.12181,
    "h": 305
  },
  "luminance": 0.07683
}

Semantic roles & 50–950 ramp

primary
#623D87
secondary
#90AD73
accent
#CE5A94
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #623D87

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

Preview Lab → · Contrast checker → · Palette generator →

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