#604181#604181

#604181 is a dark, moderate violet. Relative luminance 0.079; OKLCH L 43.9% C 0.106 H 304.8°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#604181
RGBrgb(96, 65, 129)
HSLhsl(269, 33%, 38%)
HSVhsv(269, 50%, 51%)
CMYKcmyk(25.6%, 49.6%, 0%, 49.4%)
CIE-LABlab(33.67, 27.13, -31.21)
CIE-LCHlch(33.67, 41.36, 311.00°)
OKLaboklab(43.94% 0.0607 -0.0874)
OKLCHoklch(43.94% 0.106 304.8)
XYZxyz(10.6758, 7.8524, 21.7179)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604181 #628141
analogous
#414281 #604181 #804181
triadic
#604181 #816041 #418160
tetradic
#604181 #814142 #628141 #418180
square
#604181 #814142 #628141 #418180
split-complementary
#604181 #818041 #428141
monochromatic
#231830 #422C58 #604181 #7E56AA #9D7EBE

Accessibility & contrast

On white

8.17
#604181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#604181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #604181
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604181#FFFFFF#000000##FFFFFF
##6041811.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4E83
Deuteranopia (green-blind)
#374F7F
Tritanopia (blue-blind)
#5B4C5B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #604181;
/* rgb */ color: rgb(96, 65, 129);
/* oklch */ color: oklch(43.9% 0.106 304.8);
Tailwind
colors: {
  custom: {
    50: '#8f76a6',
    500: '#604181',
    950: '#000000',
  },
}
SCSS
$custom: #604181;
$custom-light: #8f76a6;
$custom-dark: #000000;
JSON
{
  "hex": "#604181",
  "rgb": {
    "r": 96,
    "g": 65,
    "b": 129
  },
  "hsl": {
    "h": 269.063,
    "s": 32.99,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43938,
    "c": 0.10641,
    "h": 304.8
  },
  "luminance": 0.07852
}

Semantic roles & 50–950 ramp

primary
#604181
secondary
#90A975
accent
#C95F96
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0C080F
muted
#7D7B7F

Preview Lab

Preview with #604181

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

Preview Lab → · Contrast checker → · Palette generator →

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