#623C87#623C87

#623C87 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 43.7% C 0.123 H 305.3°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#623C87
RGBrgb(98, 60, 135)
HSLhsl(270, 38%, 38%)
HSVhsv(270, 56%, 53%)
CMYKcmyk(27.4%, 55.6%, 0%, 47.1%)
CIE-LABlab(33.09, 32.26, -35.84)
CIE-LCHlch(33.09, 48.22, 311.99°)
OKLaboklab(43.67% 0.0713 -0.1008)
OKLCHoklch(43.67% 0.124 305.3)
XYZxyz(11.0251, 7.5777, 23.7988)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623C87 #61873C
analogous
#3C3C87 #623C87 #873C86
triadic
#623C87 #87623C #3C8762
tetradic
#623C87 #873C3C #61873C #3C8687
square
#623C87 #873C3C #61873C #3C8687
split-complementary
#623C87 #86873C #3C873C
monochromatic
#241632 #43295D #623C87 #814FB1 #9F7AC4

Accessibility & contrast

On white

8.35
#623C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#623C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623C87
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623C87#FFFFFF#000000##FFFFFF
##623C871.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234D8A
Deuteranopia (green-blind)
#2F4E85
Tritanopia (blue-blind)
#5C4A5B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #623c87;
/* rgb */ color: rgb(98, 60, 135);
/* oklch */ color: oklch(43.7% 0.123 305.3);
Tailwind
colors: {
  custom: {
    50: '#9173aa',
    500: '#623c87',
    950: '#000000',
  },
}
SCSS
$custom: #623c87;
$custom-light: #9173aa;
$custom-dark: #000000;
JSON
{
  "hex": "#623c87",
  "rgb": {
    "r": 98,
    "g": 60,
    "b": 135
  },
  "hsl": {
    "h": 270.4,
    "s": 38.462,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4367,
    "c": 0.1235,
    "h": 305.3
  },
  "luminance": 0.07578
}

Semantic roles & 50–950 ramp

primary
#623C87
secondary
#8FAD71
accent
#CE5993
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #623C87

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

Preview Lab → · Contrast checker → · Palette generator →

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