#602E7B#602E7B

#602E7B is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.4% C 0.131 H 311.9°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#602E7B
RGBrgb(96, 46, 123)
HSLhsl(279, 46%, 33%)
HSVhsv(279, 63%, 48%)
CMYKcmyk(22%, 62.6%, 0%, 51.8%)
CIE-LABlab(29.08, 36.69, -34.76)
CIE-LCHlch(29.08, 50.54, 316.55°)
OKLaboklab(40.44% 0.0877 -0.0977)
OKLCHoklch(40.44% 0.131 311.9)
XYZxyz(9.3754, 5.8711, 19.3744)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602E7B #497B2E
analogous
#392E7B #602E7B #7B2E6F
triadic
#602E7B #7B602E #2E7B60
tetradic
#602E7B #7B392E #497B2E #2E6F7B
square
#602E7B #7B392E #497B2E #2E6F7B
split-complementary
#602E7B #6F7B2E #2E7B39
monochromatic
#1A0D22 #3D1D4E #602E7B #833FA8 #A160C3

Accessibility & contrast

On white

9.66
#602E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#602E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602E7B
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602E7B#FFFFFF#000000##FFFFFF
##602E7B1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12427D
Deuteranopia (green-blind)
#284679
Tritanopia (blue-blind)
#5D3C50
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #602e7b;
/* rgb */ color: rgb(96, 46, 123);
/* oklch */ color: oklch(40.4% 0.131 311.9);
Tailwind
colors: {
  custom: {
    50: '#906aa2',
    500: '#602e7b',
    950: '#000000',
  },
}
SCSS
$custom: #602e7b;
$custom-light: #906aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#602e7b",
  "rgb": {
    "r": 96,
    "g": 46,
    "b": 123
  },
  "hsl": {
    "h": 278.961,
    "s": 45.562,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40438,
    "c": 0.13127,
    "h": 311.9
  },
  "luminance": 0.05871
}

Semantic roles & 50–950 ramp

primary
#602E7B
secondary
#77AA5B
accent
#D55380
background
#F9F6FA
surface
#F1EBF3
border
#CBC6CD
text
#0D060F
muted
#7E7A7F

Preview Lab

Preview with #602E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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