#602EB5#602EB5

#602EB5 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 45.0% C 0.197 H 293.8°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#602EB5
RGBrgb(96, 46, 181)
HSLhsl(262, 59%, 45%)
HSVhsv(262, 75%, 71%)
CMYKcmyk(47%, 74.6%, 0%, 29%)
CIE-LABlab(33.51, 51.51, -63.01)
CIE-LCHlch(33.51, 81.39, 309.27°)
OKLaboklab(45% 0.0796 -0.1807)
OKLCHoklch(45% 0.197 293.8)
XYZxyz(14.1391, 7.7765, 44.4632)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602EB5 #83B52E
analogous
#2E40B5 #602EB5 #A32EB5
triadic
#602EB5 #B5602E #2EB560
tetradic
#602EB5 #B52E40 #83B52E #2EB5A3
square
#602EB5 #B52E40 #83B52E #2EB5A3
split-complementary
#602EB5 #B5A32E #40B52E
monochromatic
#2C1553 #462284 #602EB5 #7F4ED2 #A27FDE

Accessibility & contrast

On white

8.22
#602EB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#602EB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602EB5
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602EB5#FFFFFF#000000##FFFFFF
##602EB51.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B9
Deuteranopia (green-blind)
#004CB2
Tritanopia (blue-blind)
#47526F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #602eb5;
/* rgb */ color: rgb(96, 46, 181);
/* oklch */ color: oklch(45.0% 0.197 293.8);
Tailwind
colors: {
  custom: {
    50: '#956ccc',
    500: '#602eb5',
    950: '#000000',
  },
}
SCSS
$custom: #602eb5;
$custom-light: #956ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#602eb5",
  "rgb": {
    "r": 96,
    "g": 46,
    "b": 181
  },
  "hsl": {
    "h": 262.222,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.44995,
    "c": 0.19742,
    "h": 293.8
  },
  "luminance": 0.07777
}

Semantic roles & 50–950 ramp

primary
#602EB5
secondary
#AAC778
accent
#E345A8
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #602EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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