#604D98#604D98

#604D98 is a mid, moderate violet. Relative luminance 0.101; OKLCH L 47.6% C 0.118 H 293.0°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#604D98
RGBrgb(96, 77, 152)
HSLhsl(255, 33%, 45%)
HSVhsv(255, 49%, 60%)
CMYKcmyk(36.8%, 49.3%, 0%, 40.4%)
CIE-LABlab(37.95, 26.01, -38.48)
CIE-LCHlch(37.95, 46.44, 304.06°)
OKLaboklab(47.57% 0.0462 -0.1086)
OKLCHoklch(47.57% 0.118 293)
XYZxyz(13.1438, 10.0613, 30.9492)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604D98 #85984D
analogous
#4D6098 #604D98 #864D98
triadic
#604D98 #98604D #4D9860
tetradic
#604D98 #984D60 #85984D #4D9886
square
#604D98 #984D60 #85984D #4D9886
split-complementary
#604D98 #98864D #60984D
monochromatic
#2D2447 #46386F #604D98 #7F6DB5 #A396CA

Accessibility & contrast

On white

6.97
#604D98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#604D98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604D98
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604D98#FFFFFF#000000##FFFFFF
##604D981.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325A9B
Deuteranopia (green-blind)
#355896
Tritanopia (blue-blind)
#525C6B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #604d98;
/* rgb */ color: rgb(96, 77, 152);
/* oklch */ color: oklch(47.6% 0.118 293.0);
Tailwind
colors: {
  custom: {
    50: '#907fb7',
    500: '#604d98',
    950: '#000000',
  },
}
SCSS
$custom: #604d98;
$custom-light: #907fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#604d98",
  "rgb": {
    "r": 96,
    "g": 77,
    "b": 152
  },
  "hsl": {
    "h": 255.2,
    "s": 32.751,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47566,
    "c": 0.11806,
    "h": 293
  },
  "luminance": 0.10062
}

Semantic roles & 50–950 ramp

primary
#604D98
secondary
#ABB68B
accent
#C95FAE
background
#F9F7FB
surface
#F1EEF6
border
#CBC9D0
text
#0D0A11
muted
#7E7C80

Preview Lab

Preview with #604D98

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

Preview Lab → · Contrast checker → · Palette generator →

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