#604F8D#604F8D

#604F8D is a mid, moderate violet. Relative luminance 0.100; OKLCH L 47.3% C 0.099 H 295.0°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#604F8D
RGBrgb(96, 79, 141)
HSLhsl(256, 28%, 43%)
HSVhsv(256, 44%, 55%)
CMYKcmyk(31.9%, 44%, 0%, 44.7%)
CIE-LABlab(37.85, 21.68, -31.99)
CIE-LCHlch(37.85, 38.64, 304.13°)
OKLaboklab(47.29% 0.0418 -0.0897)
OKLCHoklch(47.29% 0.099 295)
XYZxyz(12.4264, 10.0017, 26.4700)
Luminance0.1000 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604F8D #7C8D4F
analogous
#4F5D8D #604F8D #7F4F8D
triadic
#604F8D #8D604F #4F8D60
tetradic
#604F8D #8D4F5D #7C8D4F #4F8D7F
square
#604F8D #8D4F5D #7C8D4F #4F8D7F
split-complementary
#604F8D #8D7F4F #5D8D4F
monochromatic
#2B233F #453966 #604F8D #7E6CAD #A194C3

Accessibility & contrast

On white

7.00
#604F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#604F8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604F8D
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604F8D#FFFFFF#000000##FFFFFF
##604F8D1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5A8F
Deuteranopia (green-blind)
#3F588B
Tritanopia (blue-blind)
#565A67
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #604f8d;
/* rgb */ color: rgb(96, 79, 141);
/* oklch */ color: oklch(47.3% 0.099 295.0);
Tailwind
colors: {
  custom: {
    50: '#8f80ae',
    500: '#604f8d',
    950: '#000000',
  },
}
SCSS
$custom: #604f8d;
$custom-light: #8f80ae;
$custom-dark: #000000;
JSON
{
  "hex": "#604f8d",
  "rgb": {
    "r": 96,
    "g": 79,
    "b": 141
  },
  "hsl": {
    "h": 256.452,
    "s": 28.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.47286,
    "c": 0.09893,
    "h": 295
  },
  "luminance": 0.10002
}

Semantic roles & 50–950 ramp

primary
#604F8D
secondary
#A5AF88
accent
#C463AA
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0C0A10
muted
#7D7C7F

Preview Lab

Preview with #604F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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