#604792#604792

#604792 is a mid, moderate violet. Relative luminance 0.091; OKLCH L 46.1% C 0.119 H 296.8°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#604792
RGBrgb(96, 71, 146)
HSLhsl(260, 35%, 43%)
HSVhsv(260, 51%, 57%)
CMYKcmyk(34.2%, 51.4%, 0%, 42.7%)
CIE-LABlab(36.12, 28.02, -37.77)
CIE-LCHlch(36.12, 47.03, 306.57°)
OKLaboklab(46.08% 0.0539 -0.1066)
OKLCHoklch(46.08% 0.119 296.8)
XYZxyz(12.2641, 9.0684, 28.2928)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604792 #799247
analogous
#475492 #604792 #854792
triadic
#604792 #926047 #479260
tetradic
#604792 #924754 #799247 #479285
square
#604792 #924754 #799247 #479285
split-complementary
#604792 #928547 #549247
monochromatic
#2A1F40 #453369 #604792 #7E63B3 #A08CC7

Accessibility & contrast

On white

7.46
#604792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#604792 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #604792
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604792#FFFFFF#000000##FFFFFF
##6047921.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5595
Deuteranopia (green-blind)
#325490
Tritanopia (blue-blind)
#555565
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #604792;
/* rgb */ color: rgb(96, 71, 146);
/* oklch */ color: oklch(46.1% 0.119 296.8);
Tailwind
colors: {
  custom: {
    50: '#907bb2',
    500: '#604792',
    950: '#000000',
  },
}
SCSS
$custom: #604792;
$custom-light: #907bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#604792",
  "rgb": {
    "r": 96,
    "g": 71,
    "b": 146
  },
  "hsl": {
    "h": 260,
    "s": 34.562,
    "l": 42.549
  },
  "oklch": {
    "l": 0.46079,
    "c": 0.11943,
    "h": 296.8
  },
  "luminance": 0.09069
}

Semantic roles & 50–950 ramp

primary
#604792
secondary
#A3B382
accent
#CB5DA6
background
#F9F7FB
surface
#F1EEF6
border
#CBC9D0
text
#0D0911
muted
#7E7B80

Preview Lab

Preview with #604792

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

Preview Lab → · Contrast checker → · Palette generator →

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