#662092#662092

#662092 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.3% C 0.177 H 308.3°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#662092
RGBrgb(102, 32, 146)
HSLhsl(277, 64%, 35%)
HSVhsv(277, 78%, 57%)
CMYKcmyk(30.1%, 78.1%, 0%, 42.7%)
CIE-LABlab(29.24, 49.99, -48.79)
CIE-LCHlch(29.24, 69.85, 315.70°)
OKLaboklab(41.26% 0.1093 -0.1386)
OKLCHoklch(41.26% 0.177 308.3)
XYZxyz(11.1832, 5.9333, 27.7447)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#662092 #4C9220
analogous
#2D2092 #662092 #922085
triadic
#662092 #926620 #209266
tetradic
#662092 #922D20 #4C9220 #208592
square
#662092 #922D20 #4C9220 #208592
split-complementary
#662092 #859220 #20922D
monochromatic
#200A2E #431560 #662092 #892BC4 #A653D9

Accessibility & contrast

On white

9.60
#662092 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#662092 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #662092
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##662092#FFFFFF#000000##FFFFFF
##6620921.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004295
Deuteranopia (green-blind)
#004690
Tritanopia (blue-blind)
#5F3C58
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #662092;
/* rgb */ color: rgb(102, 32, 146);
/* oklch */ color: oklch(41.3% 0.177 308.3);
Tailwind
colors: {
  custom: {
    50: '#9664b3',
    500: '#662092',
    950: '#000000',
  },
}
SCSS
$custom: #662092;
$custom-light: #9664b3;
$custom-dark: #000000;
JSON
{
  "hex": "#662092",
  "rgb": {
    "r": 102,
    "g": 32,
    "b": 146
  },
  "hsl": {
    "h": 276.842,
    "s": 64.045,
    "l": 34.902
  },
  "oklch": {
    "l": 0.41257,
    "c": 0.17651,
    "h": 308.3
  },
  "luminance": 0.05933
}

Semantic roles & 50–950 ramp

primary
#662092
secondary
#7BBD51
accent
#E74181
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #662092

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

Preview Lab → · Contrast checker → · Palette generator →

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