#662575#662575

#662575 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.7% C 0.141 H 319.6°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#662575
RGBrgb(102, 37, 117)
HSLhsl(289, 52%, 30%)
HSVhsv(289, 68%, 46%)
CMYKcmyk(12.8%, 68.4%, 0%, 54.1%)
CIE-LABlab(27.93, 41.46, -32.75)
CIE-LCHlch(27.93, 52.83, 321.69°)
OKLaboklab(39.67% 0.1076 -0.0916)
OKLCHoklch(39.67% 0.141 319.6)
XYZxyz(9.3515, 5.4327, 17.3822)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#662575 #347525
analogous
#3E2575 #662575 #75255C
triadic
#662575 #756625 #257566
tetradic
#662575 #753E25 #347525 #255C75
square
#662575 #753E25 #347525 #255C75
split-complementary
#662575 #5C7525 #25753E
monochromatic
#150818 #3D1647 #662575 #8F34A3 #B04EC7

Accessibility & contrast

On white

10.07
#662575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#662575 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #662575
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##662575#FFFFFF#000000##FFFFFF
##6625751.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3D77
Deuteranopia (green-blind)
#2B4473
Tritanopia (blue-blind)
#663349
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #662575;
/* rgb */ color: rgb(102, 37, 117);
/* oklch */ color: oklch(39.7% 0.141 319.6);
Tailwind
colors: {
  custom: {
    50: '#94659d',
    500: '#662575',
    950: '#000000',
  },
}
SCSS
$custom: #662575;
$custom-light: #94659d;
$custom-dark: #000000;
JSON
{
  "hex": "#662575",
  "rgb": {
    "r": 102,
    "g": 37,
    "b": 117
  },
  "hsl": {
    "h": 288.75,
    "s": 51.948,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39667,
    "c": 0.14124,
    "h": 319.6
  },
  "luminance": 0.05432
}

Semantic roles & 50–950 ramp

primary
#662575
secondary
#5FA84E
accent
#DB4C67
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D060E
muted
#7E7A7E

Preview Lab

Preview with #662575

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

Preview Lab → · Contrast checker → · Palette generator →

#662575 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva