#604FA8#604FA8

#604FA8 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.0% C 0.137 H 289.1°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#604FA8
RGBrgb(96, 79, 168)
HSLhsl(251, 36%, 48%)
HSVhsv(251, 53%, 66%)
CMYKcmyk(42.9%, 53%, 0%, 34.1%)
CIE-LABlab(39.42, 29.42, -45.71)
CIE-LCHlch(39.42, 54.36, 302.76°)
OKLaboklab(48.98% 0.0449 -0.1298)
OKLCHoklch(48.98% 0.137 289.1)
XYZxyz(14.6858, 10.9054, 38.3694)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604FA8 #97A84F
analogous
#4F6AA8 #604FA8 #8C4FA8
triadic
#604FA8 #A8604F #4FA860
tetradic
#604FA8 #A84F6A #97A84F #4FA88C
square
#604FA8 #A84F6A #97A84F #4FA88C
split-complementary
#604FA8 #A88C4F #6AA84F
monochromatic
#302855 #483B7E #604FA8 #8476BE #A99FD2

Accessibility & contrast

On white

6.60
#604FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#604FA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604FA8
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604FA8#FFFFFF#000000##FFFFFF
##604FA81.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275FAB
Deuteranopia (green-blind)
#285BA6
Tritanopia (blue-blind)
#4B6274
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #604fa8;
/* rgb */ color: rgb(96, 79, 168);
/* oklch */ color: oklch(49.0% 0.137 289.1);
Tailwind
colors: {
  custom: {
    50: '#9180c2',
    500: '#604fa8',
    950: '#000000',
  },
}
SCSS
$custom: #604fa8;
$custom-light: #9180c2;
$custom-dark: #000000;
JSON
{
  "hex": "#604fa8",
  "rgb": {
    "r": 96,
    "g": 79,
    "b": 168
  },
  "hsl": {
    "h": 251.461,
    "s": 36.032,
    "l": 48.431
  },
  "oklch": {
    "l": 0.48978,
    "c": 0.13741,
    "h": 289.1
  },
  "luminance": 0.10906
}

Semantic roles & 50–950 ramp

primary
#604FA8
secondary
#B7BF94
accent
#CC5CB7
background
#F9F7FC
surface
#F1EEF8
border
#CBC9D1
text
#0D0A12
muted
#7E7C81

Preview Lab

Preview with #604FA8

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

Preview Lab → · Contrast checker → · Palette generator →

#604FA8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva