#604B98#604B98

#604B98 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 47.2% C 0.121 H 293.8°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#604B98
RGBrgb(96, 75, 152)
HSLhsl(256, 34%, 45%)
HSVhsv(256, 51%, 60%)
CMYKcmyk(36.8%, 50.7%, 0%, 40.4%)
CIE-LABlab(37.45, 27.25, -39.27)
CIE-LCHlch(37.45, 47.80, 304.75°)
OKLaboklab(47.19% 0.049 -0.111)
OKLCHoklch(47.19% 0.121 293.8)
XYZxyz(13.0060, 9.7857, 30.9033)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604B98 #83984B
analogous
#4B5C98 #604B98 #874B98
triadic
#604B98 #98604B #4B9860
tetradic
#604B98 #984B5C #83984B #4B9887
square
#604B98 #984B5C #83984B #4B9887
split-complementary
#604B98 #98874B #5C984B
monochromatic
#2C2346 #46376F #604B98 #7F6AB6 #A293CA

Accessibility & contrast

On white

7.10
#604B98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #604B98
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604B98#FFFFFF#000000##FFFFFF
##604B981.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E599B
Deuteranopia (green-blind)
#325796
Tritanopia (blue-blind)
#525A6A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #604b98;
/* rgb */ color: rgb(96, 75, 152);
/* oklch */ color: oklch(47.2% 0.121 293.8);
Tailwind
colors: {
  custom: {
    50: '#907db7',
    500: '#604b98',
    950: '#000000',
  },
}
SCSS
$custom: #604b98;
$custom-light: #907db7;
$custom-dark: #000000;
JSON
{
  "hex": "#604b98",
  "rgb": {
    "r": 96,
    "g": 75,
    "b": 152
  },
  "hsl": {
    "h": 256.364,
    "s": 33.921,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47194,
    "c": 0.12129,
    "h": 293.8
  },
  "luminance": 0.09786
}

Semantic roles & 50–950 ramp

primary
#604B98
secondary
#AAB689
accent
#CA5EAC
background
#F9F7FB
surface
#F1EEF6
border
#CBC9D0
text
#0D0A11
muted
#7E7C80

Preview Lab

Preview with #604B98

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

Preview Lab → · Contrast checker → · Palette generator →

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