#662183#662183

#662183 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.2% C 0.161 H 313.8°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#662183
RGBrgb(102, 33, 131)
HSLhsl(282, 60%, 32%)
HSVhsv(282, 75%, 51%)
CMYKcmyk(22.1%, 74.8%, 0%, 48.6%)
CIE-LABlab(28.25, 46.24, -41.08)
CIE-LCHlch(28.25, 61.85, 318.38°)
OKLaboklab(40.2% 0.111 -0.1159)
OKLCHoklch(40.2% 0.161 313.8)
XYZxyz(10.1194, 5.5515, 22.0068)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#662183 #3E8321
analogous
#352183 #662183 #83216F
triadic
#662183 #836621 #218366
tetradic
#662183 #833521 #3E8321 #216F83
square
#662183 #833521 #3E8321 #216F83
split-complementary
#662183 #6F8321 #218335
monochromatic
#1A0821 #401552 #662183 #8C2DB4 #AA4CD2

Accessibility & contrast

On white

9.95
#662183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#662183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #662183
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##662183#FFFFFF#000000##FFFFFF
##6621831.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F86
Deuteranopia (green-blind)
#1A4481
Tritanopia (blue-blind)
#633650
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #662183;
/* rgb */ color: rgb(102, 33, 131);
/* oklch */ color: oklch(40.2% 0.161 313.8);
Tailwind
colors: {
  custom: {
    50: '#9563a8',
    500: '#662183',
    950: '#000000',
  },
}
SCSS
$custom: #662183;
$custom-light: #9563a8;
$custom-dark: #000000;
JSON
{
  "hex": "#662183",
  "rgb": {
    "r": 102,
    "g": 33,
    "b": 131
  },
  "hsl": {
    "h": 282.245,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40198,
    "c": 0.16052,
    "h": 313.8
  },
  "luminance": 0.05551
}

Semantic roles & 50–950 ramp

primary
#662183
secondary
#6AB54B
accent
#E34574
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #662183

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

Preview Lab → · Contrast checker → · Palette generator →

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