#603897#603897

#603897 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 43.9% C 0.150 H 299.6°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#603897
RGBrgb(96, 56, 151)
HSLhsl(265, 46%, 41%)
HSVhsv(265, 63%, 59%)
CMYKcmyk(36.4%, 62.9%, 0%, 40.8%)
CIE-LABlab(33.03, 38.27, -45.77)
CIE-LCHlch(33.03, 59.66, 309.90°)
OKLaboklab(43.91% 0.0739 -0.13)
OKLCHoklch(43.91% 0.15 299.6)
XYZxyz(11.8226, 7.5494, 30.1065)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#603897 #6F9738
analogous
#383F97 #603897 #8F3897
triadic
#603897 #976038 #389760
tetradic
#603897 #97383F #6F9738 #38978F
square
#603897 #97383F #6F9738 #38978F
split-complementary
#603897 #978F38 #3F9738
monochromatic
#27173E #44276A #603897 #7D4FBE #9E7BCE

Accessibility & contrast

On white

8.37
#603897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#603897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #603897
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##603897#FFFFFF#000000##FFFFFF
##6038971.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9A
Deuteranopia (green-blind)
#134D95
Tritanopia (blue-blind)
#544D62
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #603897;
/* rgb */ color: rgb(96, 56, 151);
/* oklch */ color: oklch(43.9% 0.150 299.6);
Tailwind
colors: {
  custom: {
    50: '#9171b6',
    500: '#603897',
    950: '#000000',
  },
}
SCSS
$custom: #603897;
$custom-light: #9171b6;
$custom-dark: #000000;
JSON
{
  "hex": "#603897",
  "rgb": {
    "r": 96,
    "g": 56,
    "b": 151
  },
  "hsl": {
    "h": 265.263,
    "s": 45.894,
    "l": 40.588
  },
  "oklch": {
    "l": 0.43907,
    "c": 0.14954,
    "h": 299.6
  },
  "luminance": 0.0755
}

Semantic roles & 50–950 ramp

primary
#603897
secondary
#9BB773
accent
#D6529E
background
#F9F6FB
surface
#F1ECF6
border
#CBC7D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #603897

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

Preview Lab → · Contrast checker → · Palette generator →

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