#602F9F#602F9F

#602F9F is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.3% C 0.171 H 299.1°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#602F9F
RGBrgb(96, 47, 159)
HSLhsl(266, 54%, 40%)
HSVhsv(266, 70%, 62%)
CMYKcmyk(39.6%, 70.4%, 0%, 37.6%)
CIE-LABlab(31.86, 45.22, -52.52)
CIE-LCHlch(31.86, 69.30, 310.73°)
OKLaboklab(43.26% 0.0832 -0.1498)
OKLCHoklch(43.26% 0.171 299.1)
XYZxyz(12.0968, 7.0229, 33.5124)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602F9F #6E9F2F
analogous
#2F369F #602F9F #982F9F
triadic
#602F9F #9F602F #2F9F60
tetradic
#602F9F #9F2F36 #6E9F2F #2F9F98
square
#602F9F #9F2F36 #6E9F2F #2F9F98
split-complementary
#602F9F #9F982F #369F2F
monochromatic
#271341 #432170 #602F9F #7D44C8 #9E73D6

Accessibility & contrast

On white

8.73
#602F9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #602F9F
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602F9F#FFFFFF#000000##FFFFFF
##602F9F1.008.732.408.73
#FFFFFF8.731.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA2
Deuteranopia (green-blind)
#004A9D
Tritanopia (blue-blind)
#514A63
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #602f9f;
/* rgb */ color: rgb(96, 47, 159);
/* oklch */ color: oklch(43.3% 0.171 299.1);
Tailwind
colors: {
  custom: {
    50: '#936bbc',
    500: '#602f9f',
    950: '#000000',
  },
}
SCSS
$custom: #602f9f;
$custom-light: #936bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#602f9f",
  "rgb": {
    "r": 96,
    "g": 47,
    "b": 159
  },
  "hsl": {
    "h": 266.25,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43255,
    "c": 0.17142,
    "h": 299.1
  },
  "luminance": 0.07023
}

Semantic roles & 50–950 ramp

primary
#602F9F
secondary
#9ABD6D
accent
#DE4A9D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #602F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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