#662193#662193

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

Color values

HEX#662193
RGBrgb(102, 33, 147)
HSLhsl(276, 63%, 35%)
HSVhsv(276, 78%, 58%)
CMYKcmyk(30.6%, 77.6%, 0%, 42.4%)
CIE-LABlab(29.46, 49.82, -49.05)
CIE-LCHlch(29.46, 69.92, 315.45°)
OKLaboklab(41.43% 0.1082 -0.1393)
OKLCHoklch(41.43% 0.176 307.8)
XYZxyz(11.2887, 6.0192, 28.1652)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#662193 #4E9321
analogous
#2D2193 #662193 #932187
triadic
#662193 #936621 #219366
tetradic
#662193 #932D21 #4E9321 #218793
square
#662193 #932D21 #4E9321 #218793
split-complementary
#662193 #879321 #21932D
monochromatic
#210B2F #431661 #662193 #892CC5 #A555D9

Accessibility & contrast

On white

9.53
#662193 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #662193
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##662193#FFFFFF#000000##FFFFFF
##6621931.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004396
Deuteranopia (green-blind)
#004691
Tritanopia (blue-blind)
#5F3D59
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #662193;
/* rgb */ color: rgb(102, 33, 147);
/* oklch */ color: oklch(41.4% 0.176 307.8);
Tailwind
colors: {
  custom: {
    50: '#9664b3',
    500: '#662193',
    950: '#000000',
  },
}
SCSS
$custom: #662193;
$custom-light: #9664b3;
$custom-dark: #000000;
JSON
{
  "hex": "#662193",
  "rgb": {
    "r": 102,
    "g": 33,
    "b": 147
  },
  "hsl": {
    "h": 276.316,
    "s": 63.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41434,
    "c": 0.17642,
    "h": 307.8
  },
  "luminance": 0.06019
}

Semantic roles & 50–950 ramp

primary
#662193
secondary
#7DBD53
accent
#E64183
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #662193

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

Preview Lab → · Contrast checker → · Palette generator →

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