#66388C#66388C

#66388C is a dark, vivid violet. Relative luminance 0.075; OKLCH L 43.8% C 0.137 H 306.9°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#66388C
RGBrgb(102, 56, 140)
HSLhsl(273, 43%, 38%)
HSVhsv(273, 60%, 55%)
CMYKcmyk(27.1%, 60%, 0%, 45.1%)
CIE-LABlab(33.02, 36.91, -39.00)
CIE-LCHlch(33.02, 53.70, 313.42°)
OKLaboklab(43.83% 0.0825 -0.11)
OKLCHoklch(43.83% 0.137 306.9)
XYZxyz(11.6263, 7.5467, 25.6500)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66388C #5E8C38
analogous
#3C388C #66388C #8C3888
triadic
#66388C #8C6638 #388C66
tetradic
#66388C #8C3C38 #5E8C38 #38888C
square
#66388C #8C3C38 #5E8C38 #38888C
split-complementary
#66388C #888C38 #388C3C
monochromatic
#261535 #462760 #66388C #864AB7 #A376C8

Accessibility & contrast

On white

8.37
#66388C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#66388C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66388C
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66388C#FFFFFF#000000##FFFFFF
##66388C1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164C8F
Deuteranopia (green-blind)
#2A4E8A
Tritanopia (blue-blind)
#60485C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #66388c;
/* rgb */ color: rgb(102, 56, 140);
/* oklch */ color: oklch(43.8% 0.137 306.9);
Tailwind
colors: {
  custom: {
    50: '#9471ae',
    500: '#66388c',
    950: '#000000',
  },
}
SCSS
$custom: #66388c;
$custom-light: #9471ae;
$custom-dark: #000000;
JSON
{
  "hex": "#66388c",
  "rgb": {
    "r": 102,
    "g": 56,
    "b": 140
  },
  "hsl": {
    "h": 272.857,
    "s": 42.857,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43831,
    "c": 0.13746,
    "h": 306.9
  },
  "luminance": 0.07547
}

Semantic roles & 50–950 ramp

primary
#66388C
secondary
#8DB16F
accent
#D3558E
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #66388C

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

Preview Lab → · Contrast checker → · Palette generator →

#66388C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva