#604A9F#604A9F

#604A9F is a mid, vivid violet. Relative luminance 0.099; OKLCH L 47.5% C 0.133 H 292.6°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#604A9F
RGBrgb(96, 74, 159)
HSLhsl(256, 36%, 46%)
HSVhsv(256, 53%, 62%)
CMYKcmyk(39.6%, 53.5%, 0%, 37.6%)
CIE-LABlab(37.64, 29.86, -43.19)
CIE-LCHlch(37.64, 52.51, 304.66°)
OKLaboklab(47.47% 0.0509 -0.1225)
OKLCHoklch(47.47% 0.133 292.6)
XYZxyz(13.5290, 9.8872, 33.9898)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604A9F #899F4A
analogous
#4A5E9F #604A9F #8A4A9F
triadic
#604A9F #9F604A #4A9F60
tetradic
#604A9F #9F4A5E #899F4A #4A9F8A
square
#604A9F #9F4A5E #899F4A #4A9F8A
split-complementary
#604A9F #9F8A4A #5E9F4A
monochromatic
#2E234B #473775 #604A9F #806CBA #A495CE

Accessibility & contrast

On white

7.05
#604A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#604A9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #604A9F
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604A9F#FFFFFF#000000##FFFFFF
##604A9F1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255AA2
Deuteranopia (green-blind)
#2A579D
Tritanopia (blue-blind)
#505B6D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #604a9f;
/* rgb */ color: rgb(96, 74, 159);
/* oklch */ color: oklch(47.5% 0.133 292.6);
Tailwind
colors: {
  custom: {
    50: '#917dbc',
    500: '#604a9f',
    950: '#000000',
  },
}
SCSS
$custom: #604a9f;
$custom-light: #917dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#604a9f",
  "rgb": {
    "r": 96,
    "g": 74,
    "b": 159
  },
  "hsl": {
    "h": 255.529,
    "s": 36.481,
    "l": 45.686
  },
  "oklch": {
    "l": 0.4747,
    "c": 0.1326,
    "h": 292.6
  },
  "luminance": 0.09888
}

Semantic roles & 50–950 ramp

primary
#604A9F
secondary
#AEBA8B
accent
#CC5BAF
background
#F9F7FB
surface
#F1EEF6
border
#CBC9D0
text
#0D0912
muted
#7E7B81

Preview Lab

Preview with #604A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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