#623478#623478

#623478 is a dark, moderate purple. Relative luminance 0.064; OKLCH L 41.4% C 0.119 H 313.6°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#623478
RGBrgb(98, 52, 120)
HSLhsl(281, 40%, 34%)
HSVhsv(281, 57%, 47%)
CMYKcmyk(18.3%, 56.7%, 0%, 52.9%)
CIE-LABlab(30.42, 33.20, -30.72)
CIE-LCHlch(30.42, 45.23, 317.22°)
OKLaboklab(41.42% 0.0818 -0.0859)
OKLCHoklch(41.42% 0.119 313.6)
XYZxyz(9.6546, 6.4090, 18.4941)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623478 #4A7834
analogous
#403478 #623478 #78346C
triadic
#623478 #786234 #347862
tetradic
#623478 #784034 #4A7834 #346C78
square
#623478 #784034 #4A7834 #346C78
split-complementary
#623478 #6C7834 #347840
monochromatic
#1C0F23 #3F214D #623478 #8547A3 #A269BE

Accessibility & contrast

On white

9.20
#623478 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#623478 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623478
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623478#FFFFFF#000000##FFFFFF
##6234781.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22457A
Deuteranopia (green-blind)
#324976
Tritanopia (blue-blind)
#603F51
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #623478;
/* rgb */ color: rgb(98, 52, 120);
/* oklch */ color: oklch(41.4% 0.119 313.6);
Tailwind
colors: {
  custom: {
    50: '#916d9f',
    500: '#623478',
    950: '#000000',
  },
}
SCSS
$custom: #623478;
$custom-light: #916d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#623478",
  "rgb": {
    "r": 98,
    "g": 52,
    "b": 120
  },
  "hsl": {
    "h": 280.588,
    "s": 39.535,
    "l": 33.725
  },
  "oklch": {
    "l": 0.41416,
    "c": 0.1186,
    "h": 313.6
  },
  "luminance": 0.06409
}

Semantic roles & 50–950 ramp

primary
#623478
secondary
#78A662
accent
#CF587F
background
#F9F6F9
surface
#F1ECF2
border
#CBC7CC
text
#0D070E
muted
#7E7A7E

Preview Lab

Preview with #623478

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

Preview Lab → · Contrast checker → · Palette generator →

#623478 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva