#662175#662175

#662175 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.2% C 0.147 H 319.9°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#662175
RGBrgb(102, 33, 117)
HSLhsl(289, 56%, 29%)
HSVhsv(289, 72%, 46%)
CMYKcmyk(12.8%, 71.8%, 0%, 54.1%)
CIE-LABlab(27.29, 43.26, -33.78)
CIE-LCHlch(27.29, 54.88, 322.02°)
OKLaboklab(39.21% 0.1123 -0.0945)
OKLCHoklch(39.21% 0.147 319.9)
XYZxyz(9.2338, 5.1973, 17.3430)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#662175 #307521
analogous
#3C2175 #662175 #75215A
triadic
#662175 #756621 #217566
tetradic
#662175 #753C21 #307521 #215A75
square
#662175 #753C21 #307521 #215A75
split-complementary
#662175 #5A7521 #21753C
monochromatic
#150718 #3C1445 #662175 #902EA5 #B346CB

Accessibility & contrast

On white

10.30
#662175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#662175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #662175
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##662175#FFFFFF#000000##FFFFFF
##6621751.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C77
Deuteranopia (green-blind)
#284373
Tritanopia (blue-blind)
#663048
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #662175;
/* rgb */ color: rgb(102, 33, 117);
/* oklch */ color: oklch(39.2% 0.147 319.9);
Tailwind
colors: {
  custom: {
    50: '#95639d',
    500: '#662175',
    950: '#000000',
  },
}
SCSS
$custom: #662175;
$custom-light: #95639d;
$custom-dark: #000000;
JSON
{
  "hex": "#662175",
  "rgb": {
    "r": 102,
    "g": 33,
    "b": 117
  },
  "hsl": {
    "h": 289.286,
    "s": 56,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39205,
    "c": 0.14682,
    "h": 319.9
  },
  "luminance": 0.05197
}

Semantic roles & 50–950 ramp

primary
#662175
secondary
#5AA84A
accent
#DF4963
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #662175

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

Preview Lab → · Contrast checker → · Palette generator →

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