#604261#604261

#604261 is a dark, moderate purple. Relative luminance 0.072; OKLCH L 42.4% C 0.063 H 325.5°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#604261
RGBrgb(96, 66, 97)
HSLhsl(298, 19%, 32%)
HSVhsv(298, 32%, 38%)
CMYKcmyk(1%, 32%, 0%, 62%)
CIE-LABlab(32.36, 18.84, -13.13)
CIE-LCHlch(32.36, 22.97, 325.13°)
OKLaboklab(42.44% 0.0518 -0.0356)
OKLCHoklch(42.44% 0.063 325.5)
XYZxyz(8.9295, 7.2466, 12.2353)
Luminance0.0725 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604261 #436142
analogous
#514261 #604261 #614253
triadic
#604261 #616042 #426160
tetradic
#604261 #615142 #436142 #425361
square
#604261 #615142 #436142 #425361
split-complementary
#604261 #536142 #426151
monochromatic
#181018 #3C293D #604261 #845B85 #A379A4

Accessibility & contrast

On white

8.57
#604261 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#604261 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #604261
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604261#FFFFFF#000000##FFFFFF
##6042611.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404A62
Deuteranopia (green-blind)
#474D60
Tritanopia (blue-blind)
#62454D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #604261;
/* rgb */ color: rgb(96, 66, 97);
/* oklch */ color: oklch(42.4% 0.063 325.5);
Tailwind
colors: {
  custom: {
    50: '#8d778e',
    500: '#604261',
    950: '#000000',
  },
}
SCSS
$custom: #604261;
$custom-light: #8d778e;
$custom-dark: #000000;
JSON
{
  "hex": "#604261",
  "rgb": {
    "r": 96,
    "g": 66,
    "b": 97
  },
  "hsl": {
    "h": 298.065,
    "s": 19.018,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42437,
    "c": 0.06286,
    "h": 325.5
  },
  "luminance": 0.07246
}

Semantic roles & 50–950 ramp

primary
#604261
secondary
#70906E
accent
#BC6C6F
background
#F8F7F8
surface
#F0EDF0
border
#CBC8CB
text
#0C080C
muted
#7D7B7D

Preview Lab

Preview with #604261

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

Preview Lab → · Contrast checker → · Palette generator →

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