#662CAD#662CAD

#662CAD is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.7% C 0.191 H 298.8°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#662CAD
RGBrgb(102, 44, 173)
HSLhsl(267, 59%, 43%)
HSVhsv(267, 75%, 68%)
CMYKcmyk(41%, 74.6%, 0%, 32.2%)
CIE-LABlab(33.23, 51.37, -58.68)
CIE-LCHlch(33.23, 77.99, 311.20°)
OKLaboklab(44.75% 0.0921 -0.1677)
OKLCHoklch(44.75% 0.191 298.8)
XYZxyz(13.9211, 7.6431, 40.2689)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#662CAD #73AD2C
analogous
#2C32AD #662CAD #A72CAD
triadic
#662CAD #AD662C #2CAD66
tetradic
#662CAD #AD2C32 #73AD2C #2CADA7
square
#662CAD #AD2C32 #73AD2C #2CADA7
split-complementary
#662CAD #ADA72C #32AD2C
monochromatic
#2C134B #49207C #662CAD #8446D0 #A577DC

Accessibility & contrast

On white

8.30
#662CAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#662CAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #662CAD
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##662CAD#FFFFFF#000000##FFFFFF
##662CAD1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB1
Deuteranopia (green-blind)
#004DAA
Tritanopia (blue-blind)
#554D6A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #662cad;
/* rgb */ color: rgb(102, 44, 173);
/* oklch */ color: oklch(44.7% 0.191 298.8);
Tailwind
colors: {
  custom: {
    50: '#986bc6',
    500: '#662cad',
    950: '#000000',
  },
}
SCSS
$custom: #662cad;
$custom-light: #986bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#662cad",
  "rgb": {
    "r": 102,
    "g": 44,
    "b": 173
  },
  "hsl": {
    "h": 266.977,
    "s": 59.447,
    "l": 42.549
  },
  "oklch": {
    "l": 0.44745,
    "c": 0.19137,
    "h": 298.8
  },
  "luminance": 0.07643
}

Semantic roles & 50–950 ramp

primary
#662CAD
secondary
#9FC471
accent
#E3459C
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #662CAD

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

Preview Lab → · Contrast checker → · Palette generator →

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