#604281#604281

#604281 is a dark, moderate violet. Relative luminance 0.080; OKLCH L 44.1% C 0.105 H 304.4°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#604281
RGBrgb(96, 66, 129)
HSLhsl(269, 32%, 38%)
HSVhsv(269, 49%, 51%)
CMYKcmyk(25.6%, 48.8%, 0%, 49.4%)
CIE-LABlab(33.92, 26.52, -30.83)
CIE-LCHlch(33.92, 40.67, 310.71°)
OKLaboklab(44.12% 0.0592 -0.0863)
OKLCHoklch(44.12% 0.105 304.4)
XYZxyz(10.7337, 7.9682, 21.7372)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604281 #638142
analogous
#424381 #604281 #7F4281
triadic
#604281 #816042 #428160
tetradic
#604281 #814243 #638142 #42817F
square
#604281 #814243 #638142 #42817F
split-complementary
#604281 #817F42 #438142
monochromatic
#241930 #422D59 #604281 #7E57A9 #9D80BE

Accessibility & contrast

On white

8.10
#604281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#604281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #604281
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604281#FFFFFF#000000##FFFFFF
##6042811.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314F83
Deuteranopia (green-blind)
#38507F
Tritanopia (blue-blind)
#5B4D5B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #604281;
/* rgb */ color: rgb(96, 66, 129);
/* oklch */ color: oklch(44.1% 0.105 304.4);
Tailwind
colors: {
  custom: {
    50: '#8f77a6',
    500: '#604281',
    950: '#000000',
  },
}
SCSS
$custom: #604281;
$custom-light: #8f77a6;
$custom-dark: #000000;
JSON
{
  "hex": "#604281",
  "rgb": {
    "r": 96,
    "g": 66,
    "b": 129
  },
  "hsl": {
    "h": 268.571,
    "s": 32.308,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44119,
    "c": 0.10463,
    "h": 304.4
  },
  "luminance": 0.07968
}

Semantic roles & 50–950 ramp

primary
#604281
secondary
#91A976
accent
#C85F96
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0C080F
muted
#7D7B7F

Preview Lab

Preview with #604281

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

Preview Lab → · Contrast checker → · Palette generator →

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