#604F89#604F89

#604F89 is a mid, moderate violet. Relative luminance 0.099; OKLCH L 47.1% C 0.093 H 296.1°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#604F89
RGBrgb(96, 79, 137)
HSLhsl(258, 27%, 42%)
HSVhsv(258, 42%, 54%)
CMYKcmyk(29.9%, 42.3%, 0%, 46.3%)
CIE-LABlab(37.63, 20.58, -29.88)
CIE-LCHlch(37.63, 36.28, 304.56°)
OKLaboklab(47.06% 0.041 -0.0836)
OKLCHoklch(47.06% 0.093 296.1)
XYZxyz(12.1341, 9.8848, 24.9307)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604F89 #78894F
analogous
#4F5B89 #604F89 #7D4F89
triadic
#604F89 #89604F #4F8960
tetradic
#604F89 #894F5B #78894F #4F897D
square
#604F89 #894F5B #78894F #4F897D
split-complementary
#604F89 #897D4F #5B894F
monochromatic
#2A223B #453962 #604F89 #7E6BAA #A092C0

Accessibility & contrast

On white

7.05
#604F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#604F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #604F89
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604F89#FFFFFF#000000##FFFFFF
##604F891.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E598B
Deuteranopia (green-blind)
#415888
Tritanopia (blue-blind)
#575965
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #604f89;
/* rgb */ color: rgb(96, 79, 137);
/* oklch */ color: oklch(47.1% 0.093 296.1);
Tailwind
colors: {
  custom: {
    50: '#8f80ab',
    500: '#604f89',
    950: '#000000',
  },
}
SCSS
$custom: #604f89;
$custom-light: #8f80ab;
$custom-dark: #000000;
JSON
{
  "hex": "#604f89",
  "rgb": {
    "r": 96,
    "g": 79,
    "b": 137
  },
  "hsl": {
    "h": 257.586,
    "s": 26.852,
    "l": 42.353
  },
  "oklch": {
    "l": 0.47057,
    "c": 0.09309,
    "h": 296.1
  },
  "luminance": 0.09885
}

Semantic roles & 50–950 ramp

primary
#604F89
secondary
#A2AD87
accent
#C365A7
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0C0A10
muted
#7D7C7F

Preview Lab

Preview with #604F89

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

Preview Lab → · Contrast checker → · Palette generator →

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