#604B95#604B95

#604B95 is a mid, moderate violet. Relative luminance 0.097; OKLCH L 47.0% C 0.117 H 294.6°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#604B95
RGBrgb(96, 75, 149)
HSLhsl(257, 33%, 44%)
HSVhsv(257, 50%, 58%)
CMYKcmyk(35.6%, 49.7%, 0%, 41.6%)
CIE-LABlab(37.28, 26.40, -37.74)
CIE-LCHlch(37.28, 46.06, 304.97°)
OKLaboklab(47% 0.0486 -0.1065)
OKLCHoklch(47% 0.117 294.6)
XYZxyz(12.7634, 9.6886, 29.6256)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604B95 #80954B
analogous
#4B5B95 #604B95 #854B95
triadic
#604B95 #95604B #4B9560
tetradic
#604B95 #954B5B #80954B #4B9585
square
#604B95 #954B5B #80954B #4B9585
split-complementary
#604B95 #95854B #5B954B
monochromatic
#2C2244 #46376C #604B95 #7F69B4 #A292C8

Accessibility & contrast

On white

7.15
#604B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#604B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #604B95
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604B95#FFFFFF#000000##FFFFFF
##604B951.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315898
Deuteranopia (green-blind)
#355793
Tritanopia (blue-blind)
#545969
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #604b95;
/* rgb */ color: rgb(96, 75, 149);
/* oklch */ color: oklch(47.0% 0.117 294.6);
Tailwind
colors: {
  custom: {
    50: '#907db4',
    500: '#604b95',
    950: '#000000',
  },
}
SCSS
$custom: #604b95;
$custom-light: #907db4;
$custom-dark: #000000;
JSON
{
  "hex": "#604b95",
  "rgb": {
    "r": 96,
    "g": 75,
    "b": 149
  },
  "hsl": {
    "h": 257.027,
    "s": 33.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.47004,
    "c": 0.11706,
    "h": 294.6
  },
  "luminance": 0.09689
}

Semantic roles & 50–950 ramp

primary
#604B95
secondary
#A8B487
accent
#C95FAB
background
#F9F7FB
surface
#F1EEF6
border
#CBC9D0
text
#0D0A11
muted
#7E7C80

Preview Lab

Preview with #604B95

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

Preview Lab → · Contrast checker → · Palette generator →

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