#66198D#66198D

#66198D is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.2% C 0.179 H 310.7°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#66198D
RGBrgb(102, 25, 141)
HSLhsl(280, 70%, 33%)
HSVhsv(280, 82%, 55%)
CMYKcmyk(27.7%, 82.3%, 0%, 44.7%)
CIE-LABlab(27.96, 51.44, -47.78)
CIE-LCHlch(27.96, 70.20, 317.11°)
OKLaboklab(40.23% 0.1165 -0.1356)
OKLCHoklch(40.23% 0.179 310.7)
XYZxyz(10.6339, 5.4434, 25.6846)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66198D #408D19
analogous
#2C198D #66198D #8D197A
triadic
#66198D #8D6619 #198D66
tetradic
#66198D #8D2C19 #408D19 #197A8D
square
#66198D #8D2C19 #408D19 #197A8D
split-complementary
#66198D #7A8D19 #198D2C
monochromatic
#1B0725 #401059 #66198D #8C22C1 #AA43DE

Accessibility & contrast

On white

10.05
#66198D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#66198D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66198D
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66198D#FFFFFF#000000##FFFFFF
##66198D1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#00438B
Tritanopia (blue-blind)
#613754
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #66198d;
/* rgb */ color: rgb(102, 25, 141);
/* oklch */ color: oklch(40.2% 0.179 310.7);
Tailwind
colors: {
  custom: {
    50: '#9660af',
    500: '#66198d',
    950: '#000000',
  },
}
SCSS
$custom: #66198d;
$custom-light: #9660af;
$custom-dark: #000000;
JSON
{
  "hex": "#66198d",
  "rgb": {
    "r": 102,
    "g": 25,
    "b": 141
  },
  "hsl": {
    "h": 279.828,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40234,
    "c": 0.17872,
    "h": 310.7
  },
  "luminance": 0.05443
}

Semantic roles & 50–950 ramp

primary
#66198D
secondary
#6DBF43
accent
#ED3B77
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #66198D

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

Preview Lab → · Contrast checker → · Palette generator →

#66198D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva