#604F99#604F99

#604F99 is a mid, moderate violet. Relative luminance 0.104; OKLCH L 48.0% C 0.116 H 292.0°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#604F99
RGBrgb(96, 79, 153)
HSLhsl(254, 32%, 45%)
HSVhsv(254, 48%, 60%)
CMYKcmyk(37.3%, 48.4%, 0%, 40%)
CIE-LABlab(38.51, 25.05, -38.19)
CIE-LCHlch(38.51, 45.67, 303.27°)
OKLaboklab(48.01% 0.0436 -0.1078)
OKLCHoklch(48.01% 0.116 292)
XYZxyz(13.3681, 10.3784, 31.4297)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604F99 #88994F
analogous
#4F6399 #604F99 #854F99
triadic
#604F99 #99604F #4F9960
tetradic
#604F99 #994F63 #88994F #4F9985
square
#604F99 #994F63 #88994F #4F9985
split-complementary
#604F99 #99854F #63994F
monochromatic
#2D2548 #473A71 #604F99 #8070B5 #A498CA

Accessibility & contrast

On white

6.83
#604F99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#604F99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604F99
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604F99#FFFFFF#000000##FFFFFF
##604F991.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345C9C
Deuteranopia (green-blind)
#375997
Tritanopia (blue-blind)
#525D6C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #604f99;
/* rgb */ color: rgb(96, 79, 153);
/* oklch */ color: oklch(48.0% 0.116 292.0);
Tailwind
colors: {
  custom: {
    50: '#9080b7',
    500: '#604f99',
    950: '#000000',
  },
}
SCSS
$custom: #604f99;
$custom-light: #9080b7;
$custom-dark: #000000;
JSON
{
  "hex": "#604f99",
  "rgb": {
    "r": 96,
    "g": 79,
    "b": 153
  },
  "hsl": {
    "h": 253.784,
    "s": 31.897,
    "l": 45.49
  },
  "oklch": {
    "l": 0.48006,
    "c": 0.11626,
    "h": 292
  },
  "luminance": 0.10379
}

Semantic roles & 50–950 ramp

primary
#604F99
secondary
#ADB78D
accent
#C860B0
background
#F9F7FB
surface
#F1EEF6
border
#CBC9D0
text
#0D0A11
muted
#7E7C80

Preview Lab

Preview with #604F99

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

Preview Lab → · Contrast checker → · Palette generator →

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