#604FAF#604FAF

#604FAF is a mid, vivid violet. Relative luminance 0.112; OKLCH L 49.5% C 0.147 H 287.9°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#604FAF
RGBrgb(96, 79, 175)
HSLhsl(251, 38%, 50%)
HSVhsv(251, 55%, 69%)
CMYKcmyk(45.1%, 54.9%, 0%, 31.4%)
CIE-LABlab(39.87, 31.50, -49.14)
CIE-LCHlch(39.87, 58.37, 302.66°)
OKLaboklab(49.46% 0.0453 -0.1399)
OKLCHoklch(49.46% 0.147 287.9)
XYZxyz(15.3555, 11.1733, 41.8967)
Luminance0.1117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604FAF #9EAF4F
analogous
#4F6EAF #604FAF #904FAF
triadic
#604FAF #AF604F #4FAF60
tetradic
#604FAF #AF4F6E #9EAF4F #4FAF90
square
#604FAF #AF4F6E #9EAF4F #4FAF90
split-complementary
#604FAF #AF904F #6EAF4F
monochromatic
#32295B #493C85 #604FAF #8679C2 #ACA3D5

Accessibility & contrast

On white

6.49
#604FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#604FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604FAF
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604FAF#FFFFFF#000000##FFFFFF
##604FAF1.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D60B2
Deuteranopia (green-blind)
#1D5BAD
Tritanopia (blue-blind)
#486477
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #604faf;
/* rgb */ color: rgb(96, 79, 175);
/* oklch */ color: oklch(49.5% 0.147 287.9);
Tailwind
colors: {
  custom: {
    50: '#9281c7',
    500: '#604faf',
    950: '#000000',
  },
}
SCSS
$custom: #604faf;
$custom-light: #9281c7;
$custom-dark: #000000;
JSON
{
  "hex": "#604faf",
  "rgb": {
    "r": 96,
    "g": 79,
    "b": 175
  },
  "hsl": {
    "h": 250.625,
    "s": 37.795,
    "l": 49.804
  },
  "oklch": {
    "l": 0.49457,
    "c": 0.14706,
    "h": 287.9
  },
  "luminance": 0.11174
}

Semantic roles & 50–950 ramp

primary
#604FAF
secondary
#BBC397
accent
#CE5AB9
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #604FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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