#662185#662185

#662185 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.3% C 0.163 H 313.0°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#662185
RGBrgb(102, 33, 133)
HSLhsl(281, 60%, 33%)
HSVhsv(281, 75%, 52%)
CMYKcmyk(23.3%, 75.2%, 0%, 47.8%)
CIE-LABlab(28.40, 46.68, -42.09)
CIE-LCHlch(28.40, 62.85, 317.96°)
OKLaboklab(40.35% 0.1108 -0.1189)
OKLCHoklch(40.35% 0.163 313)
XYZxyz(10.2562, 5.6063, 22.7276)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#662185 #408521
analogous
#342185 #662185 #852172
triadic
#662185 #856621 #218566
tetradic
#662185 #853421 #408521 #217285
square
#662185 #853421 #408521 #217285
split-complementary
#662185 #728521 #218534
monochromatic
#1B0923 #401554 #662185 #8C2DB6 #AA4DD3

Accessibility & contrast

On white

9.90
#662185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#662185 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #662185
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##662185#FFFFFF#000000##FFFFFF
##6621851.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F88
Deuteranopia (green-blind)
#174483
Tritanopia (blue-blind)
#633751
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #662185;
/* rgb */ color: rgb(102, 33, 133);
/* oklch */ color: oklch(40.3% 0.163 313.0);
Tailwind
colors: {
  custom: {
    50: '#9564a9',
    500: '#662185',
    950: '#000000',
  },
}
SCSS
$custom: #662185;
$custom-light: #9564a9;
$custom-dark: #000000;
JSON
{
  "hex": "#662185",
  "rgb": {
    "r": 102,
    "g": 33,
    "b": 133
  },
  "hsl": {
    "h": 281.4,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40347,
    "c": 0.1625,
    "h": 313
  },
  "luminance": 0.05606
}

Semantic roles & 50–950 ramp

primary
#662185
secondary
#6DB64C
accent
#E34476
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #662185

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

Preview Lab → · Contrast checker → · Palette generator →

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