#623F8A#623F8A

#623F8A is a dark, vivid violet. Relative luminance 0.080; OKLCH L 44.4% C 0.122 H 303.3°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#623F8A
RGBrgb(98, 63, 138)
HSLhsl(268, 37%, 39%)
HSVhsv(268, 54%, 54%)
CMYKcmyk(29%, 54.3%, 0%, 45.9%)
CIE-LABlab(33.96, 31.26, -36.31)
CIE-LCHlch(33.96, 47.91, 310.73°)
OKLaboklab(44.37% 0.0672 -0.1022)
OKLCHoklch(44.37% 0.122 303.3)
XYZxyz(11.4009, 7.9867, 24.9808)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623F8A #678A3F
analogous
#3F428A #623F8A #883F8A
triadic
#623F8A #8A623F #3F8A62
tetradic
#623F8A #8A3F42 #678A3F #3F8A88
square
#623F8A #8A3F42 #678A3F #3F8A88
split-complementary
#623F8A #8A883F #428A3F
monochromatic
#261936 #442C60 #623F8A #8055B1 #9F7FC5

Accessibility & contrast

On white

8.09
#623F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#623F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623F8A
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623F8A#FFFFFF#000000##FFFFFF
##623F8A1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254F8D
Deuteranopia (green-blind)
#305088
Tritanopia (blue-blind)
#5B4D5E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #623f8a;
/* rgb */ color: rgb(98, 63, 138);
/* oklch */ color: oklch(44.4% 0.122 303.3);
Tailwind
colors: {
  custom: {
    50: '#9175ac',
    500: '#623f8a',
    950: '#000000',
  },
}
SCSS
$custom: #623f8a;
$custom-light: #9175ac;
$custom-dark: #000000;
JSON
{
  "hex": "#623f8a",
  "rgb": {
    "r": 98,
    "g": 63,
    "b": 138
  },
  "hsl": {
    "h": 268,
    "s": 37.313,
    "l": 39.412
  },
  "oklch": {
    "l": 0.44369,
    "c": 0.12234,
    "h": 303.3
  },
  "luminance": 0.07987
}

Semantic roles & 50–950 ramp

primary
#623F8A
secondary
#94AF76
accent
#CD5B98
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #623F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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