#623A8B#623A8B

#623A8B is a dark, vivid violet. Relative luminance 0.075; OKLCH L 43.6% C 0.132 H 304.3°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#623A8B
RGBrgb(98, 58, 139)
HSLhsl(270, 41%, 39%)
HSVhsv(270, 58%, 55%)
CMYKcmyk(29.5%, 58.3%, 0%, 45.5%)
CIE-LABlab(32.89, 34.46, -38.62)
CIE-LCHlch(32.89, 51.76, 311.74°)
OKLaboklab(43.61% 0.0742 -0.109)
OKLCHoklch(43.61% 0.132 304.3)
XYZxyz(11.2092, 7.4869, 25.2757)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623A8B #638B3A
analogous
#3A3A8B #623A8B #8A3A8B
triadic
#623A8B #8B623A #3A8B62
tetradic
#623A8B #8B3A3A #638B3A #3A8B8A
square
#623A8B #8B3A3A #638B3A #3A8B8A
split-complementary
#623A8B #8B8A3A #3A8B3A
monochromatic
#251635 #442860 #623A8B #804DB5 #9F79C7

Accessibility & contrast

On white

8.41
#623A8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#623A8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623A8B
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623A8B#FFFFFF#000000##FFFFFF
##623A8B1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4C8E
Deuteranopia (green-blind)
#294D89
Tritanopia (blue-blind)
#5B4A5D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #623a8b;
/* rgb */ color: rgb(98, 58, 139);
/* oklch */ color: oklch(43.6% 0.132 304.3);
Tailwind
colors: {
  custom: {
    50: '#9172ad',
    500: '#623a8b',
    950: '#000000',
  },
}
SCSS
$custom: #623a8b;
$custom-light: #9172ad;
$custom-dark: #000000;
JSON
{
  "hex": "#623a8b",
  "rgb": {
    "r": 98,
    "g": 58,
    "b": 139
  },
  "hsl": {
    "h": 269.63,
    "s": 41.117,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43605,
    "c": 0.13187,
    "h": 304.3
  },
  "luminance": 0.07487
}

Semantic roles & 50–950 ramp

primary
#623A8B
secondary
#91B071
accent
#D15795
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #623A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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