#624AAB#624AAB

#624AAB is a mid, vivid violet. Relative luminance 0.104; OKLCH L 48.5% C 0.149 H 291.2°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#624AAB
RGBrgb(98, 74, 171)
HSLhsl(255, 40%, 48%)
HSVhsv(255, 57%, 67%)
CMYKcmyk(42.7%, 56.7%, 0%, 32.9%)
CIE-LABlab(38.61, 33.81, -48.79)
CIE-LCHlch(38.61, 59.36, 304.73°)
OKLaboklab(48.49% 0.0539 -0.1388)
OKLCHoklch(48.49% 0.149 291.2)
XYZxyz(14.8344, 10.4340, 39.7526)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#624AAB #93AB4A
analogous
#4A63AB #624AAB #924AAB
triadic
#624AAB #AB624A #4AAB62
tetradic
#624AAB #AB4A63 #93AB4A #4AAB92
square
#624AAB #AB4A63 #93AB4A #4AAB92
split-complementary
#624AAB #AB924A #63AB4A
monochromatic
#312556 #4A3880 #624AAB #8571C1 #A99BD4

Accessibility & contrast

On white

6.80
#624AAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#624AAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #624AAB
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##624AAB#FFFFFF#000000##FFFFFF
##624AAB1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155CAE
Deuteranopia (green-blind)
#1B59A9
Tritanopia (blue-blind)
#4E5F73
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #624aab;
/* rgb */ color: rgb(98, 74, 171);
/* oklch */ color: oklch(48.5% 0.149 291.2);
Tailwind
colors: {
  custom: {
    50: '#937dc5',
    500: '#624aab',
    950: '#000000',
  },
}
SCSS
$custom: #624aab;
$custom-light: #937dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#624aab",
  "rgb": {
    "r": 98,
    "g": 74,
    "b": 171
  },
  "hsl": {
    "h": 254.845,
    "s": 39.592,
    "l": 48.039
  },
  "oklch": {
    "l": 0.48485,
    "c": 0.14894,
    "h": 291.2
  },
  "luminance": 0.10435
}

Semantic roles & 50–950 ramp

primary
#624AAB
secondary
#B5C090
accent
#CF58B2
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #624AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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