#604F97#604F97

#604F97 is a mid, moderate violet. Relative luminance 0.103; OKLCH L 47.9% C 0.113 H 292.5°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#604F97
RGBrgb(96, 79, 151)
HSLhsl(254, 31%, 45%)
HSVhsv(254, 48%, 59%)
CMYKcmyk(36.4%, 47.7%, 0%, 40.8%)
CIE-LABlab(38.40, 24.48, -37.17)
CIE-LCHlch(38.40, 44.51, 303.37°)
OKLaboklab(47.88% 0.0433 -0.1048)
OKLCHoklch(47.88% 0.113 292.5)
XYZxyz(13.2043, 10.3128, 30.5670)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604F97 #86974F
analogous
#4F6297 #604F97 #844F97
triadic
#604F97 #97604F #4F9760
tetradic
#604F97 #974F62 #86974F #4F9784
square
#604F97 #974F62 #86974F #4F9784
split-complementary
#604F97 #97844F #62974F
monochromatic
#2D2547 #463A6F #604F97 #806FB4 #A398C9

Accessibility & contrast

On white

6.86
#604F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#604F97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604F97
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604F97#FFFFFF#000000##FFFFFF
##604F971.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365B9A
Deuteranopia (green-blind)
#385995
Tritanopia (blue-blind)
#535D6C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #604f97;
/* rgb */ color: rgb(96, 79, 151);
/* oklch */ color: oklch(47.9% 0.113 292.5);
Tailwind
colors: {
  custom: {
    50: '#9080b6',
    500: '#604f97',
    950: '#000000',
  },
}
SCSS
$custom: #604f97;
$custom-light: #9080b6;
$custom-dark: #000000;
JSON
{
  "hex": "#604f97",
  "rgb": {
    "r": 96,
    "g": 79,
    "b": 151
  },
  "hsl": {
    "h": 254.167,
    "s": 31.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47882,
    "c": 0.1134,
    "h": 292.5
  },
  "luminance": 0.10313
}

Semantic roles & 50–950 ramp

primary
#604F97
secondary
#ACB68C
accent
#C760AF
background
#F9F7FB
surface
#F1EEF6
border
#CBC9D0
text
#0D0A11
muted
#7E7C80

Preview Lab

Preview with #604F97

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

Preview Lab → · Contrast checker → · Palette generator →

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