#604282#604282

#604282 is a dark, moderate violet. Relative luminance 0.080; OKLCH L 44.2% C 0.106 H 304.0°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#604282
RGBrgb(96, 66, 130)
HSLhsl(268, 33%, 38%)
HSVhsv(268, 49%, 51%)
CMYKcmyk(26.2%, 49.2%, 0%, 49%)
CIE-LABlab(33.97, 26.78, -31.36)
CIE-LCHlch(33.97, 41.24, 310.50°)
OKLaboklab(44.18% 0.0593 -0.0878)
OKLCHoklch(44.18% 0.106 304)
XYZxyz(10.8005, 7.9950, 22.0890)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604282 #648242
analogous
#424482 #604282 #804282
triadic
#604282 #826042 #428260
tetradic
#604282 #824244 #648242 #428280
square
#604282 #824244 #648242 #428280
split-complementary
#604282 #828042 #448242
monochromatic
#241931 #422D59 #604282 #7E57AA #9D80BE

Accessibility & contrast

On white

8.08
#604282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#604282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #604282
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604282#FFFFFF#000000##FFFFFF
##6042821.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304F84
Deuteranopia (green-blind)
#385080
Tritanopia (blue-blind)
#5A4D5C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #604282;
/* rgb */ color: rgb(96, 66, 130);
/* oklch */ color: oklch(44.2% 0.106 304.0);
Tailwind
colors: {
  custom: {
    50: '#8f77a6',
    500: '#604282',
    950: '#000000',
  },
}
SCSS
$custom: #604282;
$custom-light: #8f77a6;
$custom-dark: #000000;
JSON
{
  "hex": "#604282",
  "rgb": {
    "r": 96,
    "g": 66,
    "b": 130
  },
  "hsl": {
    "h": 268.125,
    "s": 32.653,
    "l": 38.431
  },
  "oklch": {
    "l": 0.44179,
    "c": 0.10599,
    "h": 304
  },
  "luminance": 0.07995
}

Semantic roles & 50–950 ramp

primary
#604282
secondary
#91A977
accent
#C95F97
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0C080F
muted
#7D7B7F

Preview Lab

Preview with #604282

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

Preview Lab → · Contrast checker → · Palette generator →

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