#604F9D#604F9D

#604F9D is a mid, vivid violet. Relative luminance 0.105; OKLCH L 48.3% C 0.122 H 291.2°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#604F9D
RGBrgb(96, 79, 157)
HSLhsl(253, 33%, 46%)
HSVhsv(253, 50%, 62%)
CMYKcmyk(38.9%, 49.7%, 0%, 38.4%)
CIE-LABlab(38.75, 26.20, -40.22)
CIE-LCHlch(38.75, 48.00, 303.08°)
OKLaboklab(48.26% 0.044 -0.1137)
OKLCHoklch(48.26% 0.122 291.2)
XYZxyz(13.7040, 10.5127, 33.1989)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604F9D #8C9D4F
analogous
#4F659D #604F9D #874F9D
triadic
#604F9D #9D604F #4F9D60
tetradic
#604F9D #9D4F65 #8C9D4F #4F9D87
square
#604F9D #9D4F65 #8C9D4F #4F9D87
split-complementary
#604F9D #9D874F #659D4F
monochromatic
#2E264C #473B74 #604F9D #8171B8 #A59ACC

Accessibility & contrast

On white

6.77
#604F9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#604F9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604F9D
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604F9D#FFFFFF#000000##FFFFFF
##604F9D1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315DA0
Deuteranopia (green-blind)
#335A9B
Tritanopia (blue-blind)
#505F6E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #604f9d;
/* rgb */ color: rgb(96, 79, 157);
/* oklch */ color: oklch(48.3% 0.122 291.2);
Tailwind
colors: {
  custom: {
    50: '#9080ba',
    500: '#604f9d',
    950: '#000000',
  },
}
SCSS
$custom: #604f9d;
$custom-light: #9080ba;
$custom-dark: #000000;
JSON
{
  "hex": "#604f9d",
  "rgb": {
    "r": 96,
    "g": 79,
    "b": 157
  },
  "hsl": {
    "h": 253.077,
    "s": 33.051,
    "l": 46.275
  },
  "oklch": {
    "l": 0.48258,
    "c": 0.12196,
    "h": 291.2
  },
  "luminance": 0.10513
}

Semantic roles & 50–950 ramp

primary
#604F9D
secondary
#B0B98F
accent
#C95FB2
background
#F9F7FB
surface
#F1EEF6
border
#CBC9D0
text
#0D0A12
muted
#7E7C81

Preview Lab

Preview with #604F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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