#604FA6#604FA6

#604FA6 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 48.8% C 0.135 H 289.4°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#604FA6
RGBrgb(96, 79, 166)
HSLhsl(252, 36%, 48%)
HSVhsv(252, 52%, 65%)
CMYKcmyk(42.2%, 52.4%, 0%, 34.9%)
CIE-LABlab(39.30, 28.83, -44.72)
CIE-LCHlch(39.30, 53.21, 302.81°)
OKLaboklab(48.84% 0.0448 -0.1269)
OKLCHoklch(48.84% 0.135 289.4)
XYZxyz(14.5009, 10.8315, 37.3956)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604FA6 #95A64F
analogous
#4F69A6 #604FA6 #8B4FA6
triadic
#604FA6 #A6604F #4FA660
tetradic
#604FA6 #A64F69 #95A64F #4FA68B
square
#604FA6 #A64F69 #95A64F #4FA68B
split-complementary
#604FA6 #A68B4F #69A64F
monochromatic
#302853 #483B7D #604FA6 #8375BD #A89ED1

Accessibility & contrast

On white

6.63
#604FA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#604FA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604FA6
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604FA6#FFFFFF#000000##FFFFFF
##604FA61.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295EA9
Deuteranopia (green-blind)
#2A5AA4
Tritanopia (blue-blind)
#4C6173
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #604fa6;
/* rgb */ color: rgb(96, 79, 166);
/* oklch */ color: oklch(48.8% 0.135 289.4);
Tailwind
colors: {
  custom: {
    50: '#9180c1',
    500: '#604fa6',
    950: '#000000',
  },
}
SCSS
$custom: #604fa6;
$custom-light: #9180c1;
$custom-dark: #000000;
JSON
{
  "hex": "#604fa6",
  "rgb": {
    "r": 96,
    "g": 79,
    "b": 166
  },
  "hsl": {
    "h": 251.724,
    "s": 35.51,
    "l": 48.039
  },
  "oklch": {
    "l": 0.48844,
    "c": 0.13463,
    "h": 289.4
  },
  "luminance": 0.10832
}

Semantic roles & 50–950 ramp

primary
#604FA6
secondary
#B6BE93
accent
#CC5CB6
background
#F9F7FB
surface
#F1EEF7
border
#CBC9D0
text
#0D0A12
muted
#7E7C81

Preview Lab

Preview with #604FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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