#602BA4#602BA4

#602BA4 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.2% C 0.182 H 298.3°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#602BA4
RGBrgb(96, 43, 164)
HSLhsl(266, 58%, 41%)
HSVhsv(266, 74%, 64%)
CMYKcmyk(41.5%, 73.8%, 0%, 35.7%)
CIE-LABlab(31.57, 48.47, -56.02)
CIE-LCHlch(31.57, 74.08, 310.87°)
OKLaboklab(43.17% 0.0863 -0.1601)
OKLCHoklch(43.17% 0.182 298.3)
XYZxyz(12.3869, 6.8947, 35.7930)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602BA4 #6FA42B
analogous
#2B32A4 #602BA4 #9C2BA4
triadic
#602BA4 #A4602B #2BA460
tetradic
#602BA4 #A42B32 #6FA42B #2BA49C
square
#602BA4 #A42B32 #6FA42B #2BA49C
split-complementary
#602BA4 #A49C2B #32A42B
monochromatic
#271243 #441E74 #602BA4 #7D3FCD #9E70D9

Accessibility & contrast

On white

8.83
#602BA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#602BA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602BA4
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602BA4#FFFFFF#000000##FFFFFF
##602BA41.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA7
Deuteranopia (green-blind)
#0049A2
Tritanopia (blue-blind)
#4F4A65
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #602ba4;
/* rgb */ color: rgb(96, 43, 164);
/* oklch */ color: oklch(43.2% 0.182 298.3);
Tailwind
colors: {
  custom: {
    50: '#9369c0',
    500: '#602ba4',
    950: '#000000',
  },
}
SCSS
$custom: #602ba4;
$custom-light: #9369c0;
$custom-dark: #000000;
JSON
{
  "hex": "#602ba4",
  "rgb": {
    "r": 96,
    "g": 43,
    "b": 164
  },
  "hsl": {
    "h": 266.281,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.43174,
    "c": 0.18188,
    "h": 298.3
  },
  "luminance": 0.06895
}

Semantic roles & 50–950 ramp

primary
#602BA4
secondary
#9BC16A
accent
#E2469E
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #602BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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