#603789#603789

#603789 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 42.8% C 0.134 H 304.4°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#603789
RGBrgb(96, 55, 137)
HSLhsl(270, 43%, 38%)
HSVhsv(270, 60%, 54%)
CMYKcmyk(29.9%, 59.9%, 0%, 46.3%)
CIE-LABlab(31.86, 35.15, -39.05)
CIE-LCHlch(31.86, 52.53, 311.99°)
OKLaboklab(42.76% 0.0755 -0.1103)
OKLCHoklch(42.76% 0.134 304.4)
XYZxyz(10.7044, 7.0254, 24.4542)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#603789 #608937
analogous
#373789 #603789 #893789
triadic
#603789 #896037 #378960
tetradic
#603789 #893737 #608937 #378989
square
#603789 #893737 #608937 #378989
split-complementary
#603789 #898937 #378937
monochromatic
#231432 #41255D #603789 #7F49B5 #9D73C7

Accessibility & contrast

On white

8.73
#603789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#603789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #603789
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##603789#FFFFFF#000000##FFFFFF
##6037891.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144A8C
Deuteranopia (green-blind)
#254B87
Tritanopia (blue-blind)
#59475A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #603789;
/* rgb */ color: rgb(96, 55, 137);
/* oklch */ color: oklch(42.8% 0.134 304.4);
Tailwind
colors: {
  custom: {
    50: '#9070ac',
    500: '#603789',
    950: '#000000',
  },
}
SCSS
$custom: #603789;
$custom-light: #9070ac;
$custom-dark: #000000;
JSON
{
  "hex": "#603789",
  "rgb": {
    "r": 96,
    "g": 55,
    "b": 137
  },
  "hsl": {
    "h": 270,
    "s": 42.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.42757,
    "c": 0.13366,
    "h": 304.4
  },
  "luminance": 0.07025
}

Semantic roles & 50–950 ramp

primary
#603789
secondary
#8EB06C
accent
#D25594
background
#F9F6FA
surface
#F1ECF4
border
#CBC7CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #603789

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

Preview Lab → · Contrast checker → · Palette generator →

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