#662385#662385

#662385 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.6% C 0.160 H 312.8°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#662385
RGBrgb(102, 35, 133)
HSLhsl(281, 58%, 33%)
HSVhsv(281, 74%, 52%)
CMYKcmyk(23.3%, 73.7%, 0%, 47.8%)
CIE-LABlab(28.70, 45.83, -41.61)
CIE-LCHlch(28.70, 61.90, 317.76°)
OKLaboklab(40.56% 0.1087 -0.1175)
OKLCHoklch(40.56% 0.16 312.8)
XYZxyz(10.3134, 5.7206, 22.7467)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#662385 #428523
analogous
#352385 #662385 #852373
triadic
#662385 #856623 #238566
tetradic
#662385 #853523 #428523 #237385
square
#662385 #853523 #428523 #237385
split-complementary
#662385 #738523 #238535
monochromatic
#1C0924 #411655 #662385 #8B30B5 #A951D1

Accessibility & contrast

On white

9.79
#662385 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#662385 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #662385
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##662385#FFFFFF#000000##FFFFFF
##6623851.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004088
Deuteranopia (green-blind)
#194583
Tritanopia (blue-blind)
#633852
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #662385;
/* rgb */ color: rgb(102, 35, 133);
/* oklch */ color: oklch(40.6% 0.160 312.8);
Tailwind
colors: {
  custom: {
    50: '#9565a9',
    500: '#662385',
    950: '#000000',
  },
}
SCSS
$custom: #662385;
$custom-light: #9565a9;
$custom-dark: #000000;
JSON
{
  "hex": "#662385",
  "rgb": {
    "r": 102,
    "g": 35,
    "b": 133
  },
  "hsl": {
    "h": 281.02,
    "s": 58.333,
    "l": 32.941
  },
  "oklch": {
    "l": 0.4056,
    "c": 0.16004,
    "h": 312.8
  },
  "luminance": 0.0572
}

Semantic roles & 50–950 ramp

primary
#662385
secondary
#6FB54F
accent
#E24677
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #662385

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

Preview Lab → · Contrast checker → · Palette generator →

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