#602DB7#602DB7

#602DB7 is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.1% C 0.201 H 293.5°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#602DB7
RGBrgb(96, 45, 183)
HSLhsl(262, 61%, 45%)
HSVhsv(262, 75%, 72%)
CMYKcmyk(47.5%, 75.4%, 0%, 28.2%)
CIE-LABlab(33.52, 52.51, -64.18)
CIE-LCHlch(33.52, 82.92, 309.29°)
OKLaboklab(45.06% 0.0799 -0.1841)
OKLCHoklch(45.06% 0.201 293.5)
XYZxyz(14.3071, 7.7820, 45.5388)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602DB7 #84B72D
analogous
#2D3FB7 #602DB7 #A52DB7
triadic
#602DB7 #B7602D #2DB760
tetradic
#602DB7 #B72D3F #84B72D #2DB7A5
square
#602DB7 #B72D3F #84B72D #2DB7A5
split-complementary
#602DB7 #B7A52D #3FB72D
monochromatic
#2C1555 #462186 #602DB7 #7F4ED3 #A37FDF

Accessibility & contrast

On white

8.21
#602DB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #602DB7
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602DB7#FFFFFF#000000##FFFFFF
##602DB71.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BB
Deuteranopia (green-blind)
#004CB4
Tritanopia (blue-blind)
#455270
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #602db7;
/* rgb */ color: rgb(96, 45, 183);
/* oklch */ color: oklch(45.1% 0.201 293.5);
Tailwind
colors: {
  custom: {
    50: '#966bce',
    500: '#602db7',
    950: '#000000',
  },
}
SCSS
$custom: #602db7;
$custom-light: #966bce;
$custom-dark: #000000;
JSON
{
  "hex": "#602db7",
  "rgb": {
    "r": 96,
    "g": 45,
    "b": 183
  },
  "hsl": {
    "h": 262.174,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.45057,
    "c": 0.20068,
    "h": 293.5
  },
  "luminance": 0.07782
}

Semantic roles & 50–950 ramp

primary
#602DB7
secondary
#AAC878
accent
#E444A9
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #602DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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