#604381#604381

#604381 is a dark, moderate violet. Relative luminance 0.081; OKLCH L 44.3% C 0.103 H 304.1°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#604381
RGBrgb(96, 67, 129)
HSLhsl(268, 32%, 38%)
HSVhsv(268, 48%, 51%)
CMYKcmyk(25.6%, 48.1%, 0%, 49.4%)
CIE-LABlab(34.16, 25.91, -30.44)
CIE-LCHlch(34.16, 39.97, 310.40°)
OKLaboklab(44.3% 0.0577 -0.0852)
OKLCHoklch(44.3% 0.103 304.1)
XYZxyz(10.7926, 8.0861, 21.7568)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604381 #648143
analogous
#434581 #604381 #7F4381
triadic
#604381 #816043 #438160
tetradic
#604381 #814345 #648143 #43817F
square
#604381 #814345 #648143 #43817F
split-complementary
#604381 #817F43 #458143
monochromatic
#241930 #422E59 #604381 #7E59A9 #9D81BE

Accessibility & contrast

On white

8.02
#604381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#604381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #604381
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604381#FFFFFF#000000##FFFFFF
##6043811.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325083
Deuteranopia (green-blind)
#39507F
Tritanopia (blue-blind)
#5A4E5C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #604381;
/* rgb */ color: rgb(96, 67, 129);
/* oklch */ color: oklch(44.3% 0.103 304.1);
Tailwind
colors: {
  custom: {
    50: '#8f78a6',
    500: '#604381',
    950: '#000000',
  },
}
SCSS
$custom: #604381;
$custom-light: #8f78a6;
$custom-dark: #000000;
JSON
{
  "hex": "#604381",
  "rgb": {
    "r": 96,
    "g": 67,
    "b": 129
  },
  "hsl": {
    "h": 268.065,
    "s": 31.633,
    "l": 38.431
  },
  "oklch": {
    "l": 0.44302,
    "c": 0.10286,
    "h": 304.1
  },
  "luminance": 0.08086
}

Semantic roles & 50–950 ramp

primary
#604381
secondary
#91A977
accent
#C86097
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0C090F
muted
#7D7B7F

Preview Lab

Preview with #604381

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

Preview Lab → · Contrast checker → · Palette generator →

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