#66188F#66188F

#66188F is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.3% C 0.181 H 310.0°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#66188F
RGBrgb(102, 24, 143)
HSLhsl(279, 71%, 33%)
HSVhsv(279, 83%, 56%)
CMYKcmyk(28.7%, 83.2%, 0%, 43.9%)
CIE-LABlab(28.01, 52.20, -48.94)
CIE-LCHlch(28.01, 71.55, 316.85°)
OKLaboklab(40.32% 0.1167 -0.139)
OKLCHoklch(40.32% 0.181 310)
XYZxyz(10.7631, 5.4615, 26.4685)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66188F #418F18
analogous
#2B188F #66188F #8F187C
triadic
#66188F #8F6618 #188F66
tetradic
#66188F #8F2B18 #418F18 #187C8F
square
#66188F #8F2B18 #418F18 #187C8F
split-complementary
#66188F #7C8F18 #188F2B
monochromatic
#1B0626 #410F5B #66188F #8B21C3 #A942DF

Accessibility & contrast

On white

10.04
#66188F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#66188F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66188F
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66188F#FFFFFF#000000##FFFFFF
##66188F1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#00438D
Tritanopia (blue-blind)
#603755
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #66188f;
/* rgb */ color: rgb(102, 24, 143);
/* oklch */ color: oklch(40.3% 0.181 310.0);
Tailwind
colors: {
  custom: {
    50: '#9660b1',
    500: '#66188f',
    950: '#000000',
  },
}
SCSS
$custom: #66188f;
$custom-light: #9660b1;
$custom-dark: #000000;
JSON
{
  "hex": "#66188f",
  "rgb": {
    "r": 102,
    "g": 24,
    "b": 143
  },
  "hsl": {
    "h": 279.328,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40318,
    "c": 0.18148,
    "h": 310
  },
  "luminance": 0.05461
}

Semantic roles & 50–950 ramp

primary
#66188F
secondary
#6EC043
accent
#EE3A78
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #66188F

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

Preview Lab → · Contrast checker → · Palette generator →

#66188F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva