#602F8A#602F8A

#602F8A is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.6% C 0.147 H 305.7°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#602F8A
RGBrgb(96, 47, 138)
HSLhsl(272, 49%, 36%)
HSVhsv(272, 66%, 54%)
CMYKcmyk(30.4%, 65.9%, 0%, 45.9%)
CIE-LABlab(30.29, 39.83, -42.19)
CIE-LCHlch(30.29, 58.02, 313.35°)
OKLaboklab(41.64% 0.0858 -0.1195)
OKLCHoklch(41.64% 0.147 305.7)
XYZxyz(10.4268, 6.3549, 24.7171)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602F8A #598A2F
analogous
#332F8A #602F8A #8A2F87
triadic
#602F8A #8A602F #2F8A60
tetradic
#602F8A #8A332F #598A2F #2F878A
square
#602F8A #8A332F #598A2F #2F878A
split-complementary
#602F8A #878A2F #2F8A33
monochromatic
#20102F #401F5C #602F8A #803FB8 #9E68CC

Accessibility & contrast

On white

9.25
#602F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#602F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602F8A
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602F8A#FFFFFF#000000##FFFFFF
##602F8A1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468D
Deuteranopia (green-blind)
#194888
Tritanopia (blue-blind)
#594258
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #602f8a;
/* rgb */ color: rgb(96, 47, 138);
/* oklch */ color: oklch(41.6% 0.147 305.7);
Tailwind
colors: {
  custom: {
    50: '#916bad',
    500: '#602f8a',
    950: '#000000',
  },
}
SCSS
$custom: #602f8a;
$custom-light: #916bad;
$custom-dark: #000000;
JSON
{
  "hex": "#602f8a",
  "rgb": {
    "r": 96,
    "g": 47,
    "b": 138
  },
  "hsl": {
    "h": 272.308,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.41635,
    "c": 0.14712,
    "h": 305.7
  },
  "luminance": 0.06355
}

Semantic roles & 50–950 ramp

primary
#602F8A
secondary
#87B362
accent
#D94F8F
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #602F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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