#603899#603899

#603899 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.1% C 0.152 H 299.0°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#603899
RGBrgb(96, 56, 153)
HSLhsl(265, 46%, 41%)
HSVhsv(265, 63%, 60%)
CMYKcmyk(37.3%, 63.4%, 0%, 40%)
CIE-LABlab(33.17, 38.81, -46.76)
CIE-LCHlch(33.17, 60.76, 309.69°)
OKLaboklab(44.06% 0.0737 -0.1329)
OKLCHoklch(44.06% 0.152 299)
XYZxyz(11.9864, 7.6149, 30.9691)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#603899 #719938
analogous
#384199 #603899 #903899
triadic
#603899 #996038 #389960
tetradic
#603899 #993841 #719938 #389990
square
#603899 #993841 #719938 #389990
split-complementary
#603899 #999038 #419938
monochromatic
#28173F #44286C #603899 #7D4FBF #9E7CCF

Accessibility & contrast

On white

8.32
#603899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#603899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #603899
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##603899#FFFFFF#000000##FFFFFF
##6038991.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9C
Deuteranopia (green-blind)
#0E4D97
Tritanopia (blue-blind)
#534D63
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #603899;
/* rgb */ color: rgb(96, 56, 153);
/* oklch */ color: oklch(44.1% 0.152 299.0);
Tailwind
colors: {
  custom: {
    50: '#9171b8',
    500: '#603899',
    950: '#000000',
  },
}
SCSS
$custom: #603899;
$custom-light: #9171b8;
$custom-dark: #000000;
JSON
{
  "hex": "#603899",
  "rgb": {
    "r": 96,
    "g": 56,
    "b": 153
  },
  "hsl": {
    "h": 264.742,
    "s": 46.411,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44055,
    "c": 0.15202,
    "h": 299
  },
  "luminance": 0.07615
}

Semantic roles & 50–950 ramp

primary
#603899
secondary
#9CB874
accent
#D6529F
background
#F9F6FB
surface
#F1ECF6
border
#CBC7D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #603899

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

Preview Lab → · Contrast checker → · Palette generator →

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