#662192#662192

#662192 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.4% C 0.175 H 308.2°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#662192
RGBrgb(102, 33, 146)
HSLhsl(277, 63%, 35%)
HSVhsv(277, 77%, 57%)
CMYKcmyk(30.1%, 77.4%, 0%, 42.7%)
CIE-LABlab(29.38, 49.59, -48.56)
CIE-LCHlch(29.38, 69.41, 315.60°)
OKLaboklab(41.35% 0.1084 -0.1379)
OKLCHoklch(41.35% 0.175 308.2)
XYZxyz(11.2106, 5.9880, 27.7538)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#662192 #4D9221
analogous
#2D2192 #662192 #922185
triadic
#662192 #926621 #219266
tetradic
#662192 #922D21 #4D9221 #218592
square
#662192 #922D21 #4D9221 #218592
split-complementary
#662192 #859221 #21922D
monochromatic
#200A2E #431660 #662192 #892CC4 #A555D9

Accessibility & contrast

On white

9.56
#662192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#662192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #662192
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##662192#FFFFFF#000000##FFFFFF
##6621921.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #662192;
/* rgb */ color: rgb(102, 33, 146);
/* oklch */ color: oklch(41.4% 0.175 308.2);
Tailwind
colors: {
  custom: {
    50: '#9664b3',
    500: '#662192',
    950: '#000000',
  },
}
SCSS
$custom: #662192;
$custom-light: #9664b3;
$custom-dark: #000000;
JSON
{
  "hex": "#662192",
  "rgb": {
    "r": 102,
    "g": 33,
    "b": 146
  },
  "hsl": {
    "h": 276.637,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41354,
    "c": 0.17543,
    "h": 308.2
  },
  "luminance": 0.05988
}

Semantic roles & 50–950 ramp

primary
#662192
secondary
#7CBC53
accent
#E64282
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #662192

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

Preview Lab → · Contrast checker → · Palette generator →

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