#602BA7#602BA7

#602BA7 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.4% C 0.185 H 297.5°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#602BA7
RGBrgb(96, 43, 167)
HSLhsl(266, 59%, 41%)
HSVhsv(266, 74%, 65%)
CMYKcmyk(42.5%, 74.3%, 0%, 34.5%)
CIE-LABlab(31.82, 49.25, -57.42)
CIE-LCHlch(31.82, 75.65, 310.62°)
OKLaboklab(43.43% 0.0856 -0.1642)
OKLCHoklch(43.43% 0.185 297.5)
XYZxyz(12.6610, 7.0043, 37.2366)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602BA7 #72A72B
analogous
#2B34A7 #602BA7 #9E2BA7
triadic
#602BA7 #A7602B #2BA760
tetradic
#602BA7 #A72B34 #72A72B #2BA79E
square
#602BA7 #A72B34 #72A72B #2BA79E
split-complementary
#602BA7 #A79E2B #34A72B
monochromatic
#281246 #441E76 #602BA7 #7D41CE #9F72DB

Accessibility & contrast

On white

8.75
#602BA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#602BA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602BA7
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602BA7#FFFFFF#000000##FFFFFF
##602BA71.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAB
Deuteranopia (green-blind)
#0049A5
Tritanopia (blue-blind)
#4E4B67
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #602ba7;
/* rgb */ color: rgb(96, 43, 167);
/* oklch */ color: oklch(43.4% 0.185 297.5);
Tailwind
colors: {
  custom: {
    50: '#946ac2',
    500: '#602ba7',
    950: '#000000',
  },
}
SCSS
$custom: #602ba7;
$custom-light: #946ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#602ba7",
  "rgb": {
    "r": 96,
    "g": 43,
    "b": 167
  },
  "hsl": {
    "h": 265.645,
    "s": 59.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.43429,
    "c": 0.1852,
    "h": 297.5
  },
  "luminance": 0.07005
}

Semantic roles & 50–950 ramp

primary
#602BA7
secondary
#9DC26C
accent
#E2469F
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #602BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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