#602FA5#602FA5

#602FA5 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.7% C 0.178 H 297.4°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#602FA5
RGBrgb(96, 47, 165)
HSLhsl(265, 56%, 42%)
HSVhsv(265, 72%, 65%)
CMYKcmyk(41.8%, 71.5%, 0%, 35.3%)
CIE-LABlab(32.34, 46.79, -55.36)
CIE-LCHlch(32.34, 72.49, 310.20°)
OKLaboklab(43.75% 0.0822 -0.1582)
OKLCHoklch(43.75% 0.178 297.4)
XYZxyz(12.6302, 7.2362, 36.3213)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602FA5 #74A52F
analogous
#2F39A5 #602FA5 #9B2FA5
triadic
#602FA5 #A5602F #2FA560
tetradic
#602FA5 #A52F39 #74A52F #2FA59B
square
#602FA5 #A52F39 #74A52F #2FA59B
split-complementary
#602FA5 #A59B2F #39A52F
monochromatic
#291446 #442175 #602FA5 #7D47CB #9F76D8

Accessibility & contrast

On white

8.58
#602FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#602FA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602FA5
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602FA5#FFFFFF#000000##FFFFFF
##602FA51.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA8
Deuteranopia (green-blind)
#004BA3
Tritanopia (blue-blind)
#4F4C67
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #602fa5;
/* rgb */ color: rgb(96, 47, 165);
/* oklch */ color: oklch(43.7% 0.178 297.4);
Tailwind
colors: {
  custom: {
    50: '#936cc1',
    500: '#602fa5',
    950: '#000000',
  },
}
SCSS
$custom: #602fa5;
$custom-light: #936cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#602fa5",
  "rgb": {
    "r": 96,
    "g": 47,
    "b": 165
  },
  "hsl": {
    "h": 264.915,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.43747,
    "c": 0.17828,
    "h": 297.4
  },
  "luminance": 0.07236
}

Semantic roles & 50–950 ramp

primary
#602FA5
secondary
#9FC070
accent
#DF49A1
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #602FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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