#624C8A#624C8A

#624C8A is a mid, moderate violet. Relative luminance 0.096; OKLCH L 46.7% C 0.100 H 298.8°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#624C8A
RGBrgb(98, 76, 138)
HSLhsl(261, 29%, 42%)
HSVhsv(261, 45%, 54%)
CMYKcmyk(29%, 44.9%, 0%, 45.9%)
CIE-LABlab(37.12, 23.33, -31.30)
CIE-LCHlch(37.12, 39.03, 306.70°)
OKLaboklab(46.73% 0.0483 -0.0876)
OKLCHoklch(46.73% 0.1 298.8)
XYZxyz(12.2078, 9.6004, 25.2497)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#624C8A #748A4C
analogous
#4C558A #624C8A #814C8A
triadic
#624C8A #8A624C #4C8A62
tetradic
#624C8A #8A4C55 #748A4C #4C8A81
square
#624C8A #8A4C55 #748A4C #4C8A81
split-complementary
#624C8A #8A814C #558A4C
monochromatic
#2A213B #463663 #624C8A #8068AC #A18FC1

Accessibility & contrast

On white

7.19
#624C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#624C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #624C8A
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##624C8A#FFFFFF#000000##FFFFFF
##624C8A1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A578C
Deuteranopia (green-blind)
#3F5788
Tritanopia (blue-blind)
#5A5764
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #624c8a;
/* rgb */ color: rgb(98, 76, 138);
/* oklch */ color: oklch(46.7% 0.100 298.8);
Tailwind
colors: {
  custom: {
    50: '#907eac',
    500: '#624c8a',
    950: '#000000',
  },
}
SCSS
$custom: #624c8a;
$custom-light: #907eac;
$custom-dark: #000000;
JSON
{
  "hex": "#624c8a",
  "rgb": {
    "r": 98,
    "g": 76,
    "b": 138
  },
  "hsl": {
    "h": 261.29,
    "s": 28.972,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4673,
    "c": 0.10004,
    "h": 298.8
  },
  "luminance": 0.09601
}

Semantic roles & 50–950 ramp

primary
#624C8A
secondary
#9FAE84
accent
#C563A2
background
#F9F7FA
surface
#F1EEF4
border
#CBC9CE
text
#0D0A10
muted
#7E7C7F

Preview Lab

Preview with #624C8A

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

Preview Lab → · Contrast checker → · Palette generator →

#624C8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva