#662465#662465

#662465 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.5% C 0.127 H 328.3°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#662465
RGBrgb(102, 36, 101)
HSLhsl(301, 48%, 27%)
HSVhsv(301, 65%, 40%)
CMYKcmyk(0%, 64.7%, 1%, 60%)
CIE-LABlab(26.81, 38.71, -24.25)
CIE-LCHlch(26.81, 45.68, 327.93°)
OKLaboklab(38.55% 0.1083 -0.0669)
OKLCHoklch(38.55% 0.127 328.3)
XYZxyz(8.4592, 5.0267, 12.8341)
Luminance0.0503 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#662465 #246625
analogous
#462466 #662465 #662444
triadic
#662465 #656624 #246566
tetradic
#662465 #664624 #246625 #244466
square
#662465 #664624 #246625 #244466
split-complementary
#662465 #446624 #246646
monochromatic
#170816 #391438 #662465 #933492 #BE47BC

Accessibility & contrast

On white

10.47
#662465 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#662465 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #662465
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##662465#FFFFFF#000000##FFFFFF
##6624651.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3A67
Deuteranopia (green-blind)
#344263
Tritanopia (blue-blind)
#692C41
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #662465;
/* rgb */ color: rgb(102, 36, 101);
/* oklch */ color: oklch(38.5% 0.127 328.3);
Tailwind
colors: {
  custom: {
    50: '#946491',
    500: '#662465',
    950: '#000000',
  },
}
SCSS
$custom: #662465;
$custom-light: #946491;
$custom-dark: #000000;
JSON
{
  "hex": "#662465",
  "rgb": {
    "r": 102,
    "g": 36,
    "b": 101
  },
  "hsl": {
    "h": 300.909,
    "s": 47.826,
    "l": 27.059
  },
  "oklch": {
    "l": 0.38546,
    "c": 0.12724,
    "h": 328.3
  },
  "luminance": 0.05026
}

Semantic roles & 50–950 ramp

primary
#662465
secondary
#4C994E
accent
#D75250
background
#F9F6F8
surface
#F2EBF0
border
#CCC6CB
text
#0D060D
muted
#7E7A7D

Preview Lab

Preview with #662465

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

Preview Lab → · Contrast checker → · Palette generator →

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