#602FB5#602FB5

#602FB5 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.1% C 0.196 H 293.6°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#602FB5
RGBrgb(96, 47, 181)
HSLhsl(262, 59%, 45%)
HSVhsv(262, 74%, 71%)
CMYKcmyk(47%, 74%, 0%, 29%)
CIE-LABlab(33.68, 51.04, -62.74)
CIE-LCHlch(33.68, 80.88, 309.13°)
OKLaboklab(45.11% 0.0787 -0.1799)
OKLCHoklch(45.11% 0.196 293.6)
XYZxyz(14.1786, 7.8556, 44.4763)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602FB5 #84B52F
analogous
#2F41B5 #602FB5 #A32FB5
triadic
#602FB5 #B5602F #2FB560
tetradic
#602FB5 #B52F41 #84B52F #2FB5A3
square
#602FB5 #B52F41 #84B52F #2FB5A3
split-complementary
#602FB5 #B5A32F #41B52F
monochromatic
#2C1654 #462284 #602FB5 #7F50D1 #A380DE

Accessibility & contrast

On white

8.17
#602FB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#602FB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602FB5
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602FB5#FFFFFF#000000##FFFFFF
##602FB51.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B9
Deuteranopia (green-blind)
#004DB2
Tritanopia (blue-blind)
#465370
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #602fb5;
/* rgb */ color: rgb(96, 47, 181);
/* oklch */ color: oklch(45.1% 0.196 293.6);
Tailwind
colors: {
  custom: {
    50: '#956ccc',
    500: '#602fb5',
    950: '#000000',
  },
}
SCSS
$custom: #602fb5;
$custom-light: #956ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#602fb5",
  "rgb": {
    "r": 96,
    "g": 47,
    "b": 181
  },
  "hsl": {
    "h": 261.94,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.45112,
    "c": 0.19634,
    "h": 293.6
  },
  "luminance": 0.07856
}

Semantic roles & 50–950 ramp

primary
#602FB5
secondary
#AAC779
accent
#E246A9
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #602FB5

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

Preview Lab → · Contrast checker → · Palette generator →

#602FB5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva