#662CA3#662CA3

#662CA3 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.9% C 0.181 H 301.5°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#662CA3
RGBrgb(102, 44, 163)
HSLhsl(269, 57%, 41%)
HSVhsv(269, 73%, 64%)
CMYKcmyk(37.4%, 73%, 0%, 36.1%)
CIE-LABlab(32.41, 48.86, -54.00)
CIE-LCHlch(32.41, 72.83, 312.14°)
OKLaboklab(43.92% 0.0943 -0.154)
OKLCHoklch(43.92% 0.181 301.5)
XYZxyz(12.9894, 7.2704, 35.3622)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#662CA3 #69A32C
analogous
#2C2DA3 #662CA3 #A12CA3
triadic
#662CA3 #A3662C #2CA366
tetradic
#662CA3 #A32C2D #69A32C #2CA3A1
square
#662CA3 #A32C2D #69A32C #2CA3A1
split-complementary
#662CA3 #A3A12C #2DA32C
monochromatic
#2A1243 #481F73 #662CA3 #8441CC #A371D9

Accessibility & contrast

On white

8.56
#662CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#662CA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #662CA3
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##662CA3#FFFFFF#000000##FFFFFF
##662CA31.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA6
Deuteranopia (green-blind)
#004CA1
Tritanopia (blue-blind)
#594965
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #662ca3;
/* rgb */ color: rgb(102, 44, 163);
/* oklch */ color: oklch(43.9% 0.181 301.5);
Tailwind
colors: {
  custom: {
    50: '#976abf',
    500: '#662ca3',
    950: '#000000',
  },
}
SCSS
$custom: #662ca3;
$custom-light: #976abf;
$custom-dark: #000000;
JSON
{
  "hex": "#662ca3",
  "rgb": {
    "r": 102,
    "g": 44,
    "b": 163
  },
  "hsl": {
    "h": 269.244,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.43917,
    "c": 0.18054,
    "h": 301.5
  },
  "luminance": 0.0727
}

Semantic roles & 50–950 ramp

primary
#662CA3
secondary
#96C06B
accent
#E14796
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #662CA3

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

Preview Lab → · Contrast checker → · Palette generator →

#662CA3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva