#602B8B#602B8B

#602B8B is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.2% C 0.154 H 306.0°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#602B8B
RGBrgb(96, 43, 139)
HSLhsl(273, 53%, 36%)
HSVhsv(273, 69%, 55%)
CMYKcmyk(30.9%, 69.1%, 0%, 45.5%)
CIE-LABlab(29.61, 42.15, -43.91)
CIE-LCHlch(29.61, 60.86, 313.83°)
OKLaboklab(41.17% 0.0905 -0.1245)
OKLCHoklch(41.17% 0.154 306)
XYZxyz(10.3469, 6.0787, 25.0493)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602B8B #568B2B
analogous
#302B8B #602B8B #8B2B86
triadic
#602B8B #8B602B #2B8B60
tetradic
#602B8B #8B302B #568B2B #2B868B
square
#602B8B #8B302B #568B2B #2B868B
split-complementary
#602B8B #868B2B #2B8B30
monochromatic
#1F0E2E #401D5C #602B8B #8039BA #9E62CE

Accessibility & contrast

On white

9.48
#602B8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#602B8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602B8B
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602B8B#FFFFFF#000000##FFFFFF
##602B8B1.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448E
Deuteranopia (green-blind)
#0F4689
Tritanopia (blue-blind)
#594057
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #602b8b;
/* rgb */ color: rgb(96, 43, 139);
/* oklch */ color: oklch(41.2% 0.154 306.0);
Tailwind
colors: {
  custom: {
    50: '#9168ad',
    500: '#602b8b',
    950: '#000000',
  },
}
SCSS
$custom: #602b8b;
$custom-light: #9168ad;
$custom-dark: #000000;
JSON
{
  "hex": "#602b8b",
  "rgb": {
    "r": 96,
    "g": 43,
    "b": 139
  },
  "hsl": {
    "h": 273.125,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41168,
    "c": 0.15396,
    "h": 306
  },
  "luminance": 0.06079
}

Semantic roles & 50–950 ramp

primary
#602B8B
secondary
#84B55D
accent
#DC4C8C
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #602B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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