#604692#604692

#604692 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 45.9% C 0.121 H 297.2°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#604692
RGBrgb(96, 70, 146)
HSLhsl(261, 35%, 42%)
HSVhsv(261, 52%, 57%)
CMYKcmyk(34.2%, 52.1%, 0%, 42.7%)
CIE-LABlab(35.87, 28.64, -38.16)
CIE-LCHlch(35.87, 47.71, 306.89°)
OKLaboklab(45.9% 0.0553 -0.1077)
OKLCHoklch(45.9% 0.121 297.2)
XYZxyz(12.2011, 8.9423, 28.2718)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604692 #789246
analogous
#465292 #604692 #864692
triadic
#604692 #926046 #469260
tetradic
#604692 #924652 #789246 #469286
square
#604692 #924652 #789246 #469286
split-complementary
#604692 #928646 #529246
monochromatic
#2A1E3F #453269 #604692 #7E62B4 #A08BC7

Accessibility & contrast

On white

7.53
#604692 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#604692 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #604692
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604692#FFFFFF#000000##FFFFFF
##6046921.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5595
Deuteranopia (green-blind)
#315490
Tritanopia (blue-blind)
#555565
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #604692;
/* rgb */ color: rgb(96, 70, 146);
/* oklch */ color: oklch(45.9% 0.121 297.2);
Tailwind
colors: {
  custom: {
    50: '#907ab2',
    500: '#604692',
    950: '#000000',
  },
}
SCSS
$custom: #604692;
$custom-light: #907ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#604692",
  "rgb": {
    "r": 96,
    "g": 70,
    "b": 146
  },
  "hsl": {
    "h": 260.526,
    "s": 35.185,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45898,
    "c": 0.12108,
    "h": 297.2
  },
  "luminance": 0.08942
}

Semantic roles & 50–950 ramp

primary
#604692
secondary
#A2B381
accent
#CB5DA5
background
#F9F7FB
surface
#F1EDF6
border
#CBC8D0
text
#0D0911
muted
#7E7B80

Preview Lab

Preview with #604692

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

Preview Lab → · Contrast checker → · Palette generator →

#604692 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva