#624F87#624F87

#624F87 is a mid, moderate violet. Relative luminance 0.099; OKLCH L 47.1% C 0.090 H 298.5°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#624F87
RGBrgb(98, 79, 135)
HSLhsl(260, 26%, 42%)
HSVhsv(260, 41%, 53%)
CMYKcmyk(27.4%, 41.5%, 0%, 47.1%)
CIE-LABlab(37.73, 20.66, -28.50)
CIE-LCHlch(37.73, 35.20, 305.94°)
OKLaboklab(47.14% 0.0432 -0.0795)
OKLCHoklch(47.14% 0.09 298.5)
XYZxyz(12.2051, 9.9378, 24.1921)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#624F87 #74874F
analogous
#4F5887 #624F87 #7E4F87
triadic
#624F87 #87624F #4F8762
tetradic
#624F87 #874F58 #74874F #4F877E
square
#624F87 #874F58 #74874F #4F877E
split-complementary
#624F87 #877E4F #58874F
monochromatic
#2A223A #463860 #624F87 #806BA8 #A191BF

Accessibility & contrast

On white

7.03
#624F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#624F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #624F87
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##624F87#FFFFFF#000000##FFFFFF
##624F871.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405989
Deuteranopia (green-blind)
#435886
Tritanopia (blue-blind)
#5B5964
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #624f87;
/* rgb */ color: rgb(98, 79, 135);
/* oklch */ color: oklch(47.1% 0.090 298.5);
Tailwind
colors: {
  custom: {
    50: '#9080aa',
    500: '#624f87',
    950: '#000000',
  },
}
SCSS
$custom: #624f87;
$custom-light: #9080aa;
$custom-dark: #000000;
JSON
{
  "hex": "#624f87",
  "rgb": {
    "r": 98,
    "g": 79,
    "b": 135
  },
  "hsl": {
    "h": 260.357,
    "s": 26.168,
    "l": 41.961
  },
  "oklch": {
    "l": 0.47144,
    "c": 0.09048,
    "h": 298.5
  },
  "luminance": 0.09938
}

Semantic roles & 50–950 ramp

primary
#624F87
secondary
#9FAC86
accent
#C365A3
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0D0A10
muted
#7D7C7F

Preview Lab

Preview with #624F87

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

Preview Lab → · Contrast checker → · Palette generator →

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