#604B99#604B99

#604B99 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 47.3% C 0.123 H 293.6°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#604B99
RGBrgb(96, 75, 153)
HSLhsl(256, 34%, 45%)
HSVhsv(256, 51%, 60%)
CMYKcmyk(37.3%, 51%, 0%, 40%)
CIE-LABlab(37.51, 27.53, -39.78)
CIE-LCHlch(37.51, 48.38, 304.68°)
OKLaboklab(47.26% 0.0491 -0.1124)
OKLCHoklch(47.26% 0.123 293.6)
XYZxyz(13.0882, 9.8186, 31.3364)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604B99 #84994B
analogous
#4B5D99 #604B99 #874B99
triadic
#604B99 #99604B #4B9960
tetradic
#604B99 #994B5D #84994B #4B9987
square
#604B99 #994B5D #84994B #4B9987
split-complementary
#604B99 #99874B #5D994B
monochromatic
#2C2347 #463770 #604B99 #7F6BB6 #A394CB

Accessibility & contrast

On white

7.09
#604B99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#604B99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #604B99
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604B99#FFFFFF#000000##FFFFFF
##604B991.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D599C
Deuteranopia (green-blind)
#315797
Tritanopia (blue-blind)
#525A6B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #604b99;
/* rgb */ color: rgb(96, 75, 153);
/* oklch */ color: oklch(47.3% 0.123 293.6);
Tailwind
colors: {
  custom: {
    50: '#907eb7',
    500: '#604b99',
    950: '#000000',
  },
}
SCSS
$custom: #604b99;
$custom-light: #907eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#604b99",
  "rgb": {
    "r": 96,
    "g": 75,
    "b": 153
  },
  "hsl": {
    "h": 256.154,
    "s": 34.211,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47258,
    "c": 0.12268,
    "h": 293.6
  },
  "luminance": 0.09819
}

Semantic roles & 50–950 ramp

primary
#604B99
secondary
#AAB789
accent
#CA5EAD
background
#F9F7FB
surface
#F1EEF6
border
#CBC9D0
text
#0D0A11
muted
#7E7C80

Preview Lab

Preview with #604B99

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

Preview Lab → · Contrast checker → · Palette generator →

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