#603FA2#603FA2

#603FA2 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 45.8% C 0.153 H 295.0°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#603FA2
RGBrgb(96, 63, 162)
HSLhsl(260, 44%, 44%)
HSVhsv(260, 61%, 64%)
CMYKcmyk(40.7%, 61.1%, 0%, 36.5%)
CIE-LABlab(35.30, 37.28, -48.75)
CIE-LCHlch(35.30, 61.38, 307.41°)
OKLaboklab(45.81% 0.0648 -0.1388)
OKLCHoklch(45.81% 0.153 295)
XYZxyz(13.1212, 8.6502, 35.1537)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#603FA2 #81A23F
analogous
#3F50A2 #603FA2 #923FA2
triadic
#603FA2 #A2603F #3FA260
tetradic
#603FA2 #A23F50 #81A23F #3FA292
square
#603FA2 #A23F50 #81A23F #3FA292
split-complementary
#603FA2 #A2923F #50A23F
monochromatic
#2C1D4A #462E76 #603FA2 #7F5EC0 #A28AD1

Accessibility & contrast

On white

7.69
#603FA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#603FA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #603FA2
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##603FA2#FFFFFF#000000##FFFFFF
##603FA21.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#0B51A0
Tritanopia (blue-blind)
#4F556A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #603fa2;
/* rgb */ color: rgb(96, 63, 162);
/* oklch */ color: oklch(45.8% 0.153 295.0);
Tailwind
colors: {
  custom: {
    50: '#9275be',
    500: '#603fa2',
    950: '#000000',
  },
}
SCSS
$custom: #603fa2;
$custom-light: #9275be;
$custom-dark: #000000;
JSON
{
  "hex": "#603fa2",
  "rgb": {
    "r": 96,
    "g": 63,
    "b": 162
  },
  "hsl": {
    "h": 260,
    "s": 44,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45811,
    "c": 0.15317,
    "h": 295
  },
  "luminance": 0.0865
}

Semantic roles & 50–950 ramp

primary
#603FA2
secondary
#A8BC81
accent
#D454A9
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0D0812
muted
#7E7B81

Preview Lab

Preview with #603FA2

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

Preview Lab → · Contrast checker → · Palette generator →

#603FA2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva