#604262#604262

#604262 is a dark, moderate purple. Relative luminance 0.073; OKLCH L 42.5% C 0.064 H 324.5°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#604262
RGBrgb(96, 66, 98)
HSLhsl(296, 20%, 32%)
HSVhsv(296, 33%, 38%)
CMYKcmyk(2%, 32.7%, 0%, 61.6%)
CIE-LABlab(32.40, 19.06, -13.70)
CIE-LCHlch(32.40, 23.48, 324.29°)
OKLaboklab(42.48% 0.0521 -0.0372)
OKLCHoklch(42.48% 0.064 324.5)
XYZxyz(8.9765, 7.2654, 12.4824)
Luminance0.0727 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604262 #446242
analogous
#504262 #604262 #624254
triadic
#604262 #626042 #426260
tetradic
#604262 #625042 #446242 #425462
square
#604262 #625042 #446242 #425462
split-complementary
#604262 #546242 #426250
monochromatic
#181119 #3C293D #604262 #845B87 #A279A5

Accessibility & contrast

On white

8.56
#604262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #604262
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604262#FFFFFF#000000##FFFFFF
##6042621.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4A63
Deuteranopia (green-blind)
#464D61
Tritanopia (blue-blind)
#62454E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #604262;
/* rgb */ color: rgb(96, 66, 98);
/* oklch */ color: oklch(42.5% 0.064 324.5);
Tailwind
colors: {
  custom: {
    50: '#8d778e',
    500: '#604262',
    950: '#000000',
  },
}
SCSS
$custom: #604262;
$custom-light: #8d778e;
$custom-dark: #000000;
JSON
{
  "hex": "#604262",
  "rgb": {
    "r": 96,
    "g": 66,
    "b": 98
  },
  "hsl": {
    "h": 296.25,
    "s": 19.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42482,
    "c": 0.06404,
    "h": 324.5
  },
  "luminance": 0.07265
}

Semantic roles & 50–950 ramp

primary
#604262
secondary
#71916F
accent
#BC6C71
background
#F8F7F8
surface
#F0EDF0
border
#CBC8CB
text
#0C080C
muted
#7D7B7D

Preview Lab

Preview with #604262

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

Preview Lab → · Contrast checker → · Palette generator →

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