#662468#662468

#662468 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 38.7% C 0.130 H 326.5°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#662468
RGBrgb(102, 36, 104)
HSLhsl(298, 49%, 27%)
HSVhsv(298, 65%, 41%)
CMYKcmyk(1.9%, 65.4%, 0%, 59.2%)
CIE-LABlab(26.98, 39.29, -25.93)
CIE-LCHlch(26.98, 47.07, 326.58°)
OKLaboklab(38.72% 0.1085 -0.0717)
OKLCHoklch(38.72% 0.13 326.5)
XYZxyz(8.6089, 5.0865, 13.6224)
Luminance0.0509 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#662468 #266824
analogous
#442468 #662468 #682448
triadic
#662468 #686624 #246866
tetradic
#662468 #684424 #266824 #244868
square
#662468 #684424 #266824 #244868
split-complementary
#662468 #486824 #246844
monochromatic
#160817 #39143B #662468 #933495 #BC47BF

Accessibility & contrast

On white

10.41
#662468 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#662468 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #662468
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##662468#FFFFFF#000000##FFFFFF
##6624681.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3A6A
Deuteranopia (green-blind)
#324366
Tritanopia (blue-blind)
#692D42
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #662468;
/* rgb */ color: rgb(102, 36, 104);
/* oklch */ color: oklch(38.7% 0.130 326.5);
Tailwind
colors: {
  custom: {
    50: '#946493',
    500: '#662468',
    950: '#000000',
  },
}
SCSS
$custom: #662468;
$custom-light: #946493;
$custom-dark: #000000;
JSON
{
  "hex": "#662468",
  "rgb": {
    "r": 102,
    "g": 36,
    "b": 104
  },
  "hsl": {
    "h": 298.235,
    "s": 48.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.38724,
    "c": 0.13005,
    "h": 326.5
  },
  "luminance": 0.05086
}

Semantic roles & 50–950 ramp

primary
#662468
secondary
#4F9B4C
accent
#D85054
background
#F9F6F9
surface
#F2EBF1
border
#CCC6CB
text
#0D060D
muted
#7E7A7E

Preview Lab

Preview with #662468

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

Preview Lab → · Contrast checker → · Palette generator →

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