#604E8D#604E8D

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

Color values

HEX#604E8D
RGBrgb(96, 78, 141)
HSLhsl(257, 29%, 43%)
HSVhsv(257, 45%, 55%)
CMYKcmyk(31.9%, 44.7%, 0%, 44.7%)
CIE-LABlab(37.59, 22.30, -32.39)
CIE-LCHlch(37.59, 39.33, 304.55°)
OKLaboklab(47.09% 0.0432 -0.0909)
OKLCHoklch(47.09% 0.101 295.4)
XYZxyz(12.3548, 9.8585, 26.4461)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604E8D #7B8D4E
analogous
#4E5B8D #604E8D #7F4E8D
triadic
#604E8D #8D604E #4E8D60
tetradic
#604E8D #8D4E5B #7B8D4E #4E8D7F
square
#604E8D #8D4E5B #7B8D4E #4E8D7F
split-complementary
#604E8D #8D7F4E #5B8D4E
monochromatic
#2A223E #453866 #604E8D #7E6BAD #A092C3

Accessibility & contrast

On white

7.07
#604E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#604E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #604E8D
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604E8D#FFFFFF#000000##FFFFFF
##604E8D1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B598F
Deuteranopia (green-blind)
#3E588B
Tritanopia (blue-blind)
#565966
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #604e8d;
/* rgb */ color: rgb(96, 78, 141);
/* oklch */ color: oklch(47.1% 0.101 295.4);
Tailwind
colors: {
  custom: {
    50: '#8f80ae',
    500: '#604e8d',
    950: '#000000',
  },
}
SCSS
$custom: #604e8d;
$custom-light: #8f80ae;
$custom-dark: #000000;
JSON
{
  "hex": "#604e8d",
  "rgb": {
    "r": 96,
    "g": 78,
    "b": 141
  },
  "hsl": {
    "h": 257.143,
    "s": 28.767,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47091,
    "c": 0.10063,
    "h": 295.4
  },
  "luminance": 0.09859
}

Semantic roles & 50–950 ramp

primary
#604E8D
secondary
#A4AF87
accent
#C563A9
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0C0A10
muted
#7D7C7F

Preview Lab

Preview with #604E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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