#602F8D#602F8D

#602F8D is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.9% C 0.151 H 304.6°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#602F8D
RGBrgb(96, 47, 141)
HSLhsl(271, 50%, 37%)
HSVhsv(271, 67%, 55%)
CMYKcmyk(31.9%, 66.7%, 0%, 44.7%)
CIE-LABlab(30.50, 40.58, -43.70)
CIE-LCHlch(30.50, 59.64, 312.88°)
OKLaboklab(41.86% 0.0856 -0.1239)
OKLCHoklch(41.86% 0.151 304.6)
XYZxyz(10.6470, 6.4430, 25.8768)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602F8D #5C8D2F
analogous
#312F8D #602F8D #8D2F8B
triadic
#602F8D #8D602F #2F8D60
tetradic
#602F8D #8D312F #5C8D2F #2F8B8D
square
#602F8D #8D312F #5C8D2F #2F8B8D
split-complementary
#602F8D #8B8D2F #2F8D31
monochromatic
#211031 #41205F #602F8D #7F3EBB #9D69CD

Accessibility & contrast

On white

9.18
#602F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#602F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602F8D
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602F8D#FFFFFF#000000##FFFFFF
##602F8D1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#13488B
Tritanopia (blue-blind)
#58435A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #602f8d;
/* rgb */ color: rgb(96, 47, 141);
/* oklch */ color: oklch(41.9% 0.151 304.6);
Tailwind
colors: {
  custom: {
    50: '#916baf',
    500: '#602f8d',
    950: '#000000',
  },
}
SCSS
$custom: #602f8d;
$custom-light: #916baf;
$custom-dark: #000000;
JSON
{
  "hex": "#602f8d",
  "rgb": {
    "r": 96,
    "g": 47,
    "b": 141
  },
  "hsl": {
    "h": 271.277,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.41856,
    "c": 0.15062,
    "h": 304.6
  },
  "luminance": 0.06443
}

Semantic roles & 50–950 ramp

primary
#602F8D
secondary
#8AB464
accent
#DA4E91
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #602F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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