#604C8E#604C8E

#604C8E is a mid, moderate violet. Relative luminance 0.096; OKLCH L 46.8% C 0.105 H 296.0°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#604C8E
RGBrgb(96, 76, 142)
HSLhsl(258, 30%, 43%)
HSVhsv(258, 46%, 56%)
CMYKcmyk(32.4%, 46.5%, 0%, 44.3%)
CIE-LABlab(37.13, 23.82, -33.72)
CIE-LCHlch(37.13, 41.29, 305.24°)
OKLaboklab(46.76% 0.0463 -0.0947)
OKLCHoklch(46.76% 0.105 296)
XYZxyz(12.2896, 9.6085, 26.7931)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604C8E #7A8E4C
analogous
#4C598E #604C8E #814C8E
triadic
#604C8E #8E604C #4C8E60
tetradic
#604C8E #8E4C59 #7A8E4C #4C8E81
square
#604C8E #8E4C59 #7A8E4C #4C8E81
split-complementary
#604C8E #8E814C #598E4C
monochromatic
#2A213E #453766 #604C8E #7E69AF #A091C4

Accessibility & contrast

On white

7.19
#604C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#604C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #604C8E
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604C8E#FFFFFF#000000##FFFFFF
##604C8E1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375890
Deuteranopia (green-blind)
#3B578C
Tritanopia (blue-blind)
#565866
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #604c8e;
/* rgb */ color: rgb(96, 76, 142);
/* oklch */ color: oklch(46.8% 0.105 296.0);
Tailwind
colors: {
  custom: {
    50: '#8f7eaf',
    500: '#604c8e',
    950: '#000000',
  },
}
SCSS
$custom: #604c8e;
$custom-light: #8f7eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#604c8e",
  "rgb": {
    "r": 96,
    "g": 76,
    "b": 142
  },
  "hsl": {
    "h": 258.182,
    "s": 30.275,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46764,
    "c": 0.10545,
    "h": 296
  },
  "luminance": 0.09609
}

Semantic roles & 50–950 ramp

primary
#604C8E
secondary
#A3B086
accent
#C761A8
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0D0A10
muted
#7D7C7F

Preview Lab

Preview with #604C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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