#66248C#66248C

#66248C is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.2% C 0.166 H 310.0°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#66248C
RGBrgb(102, 36, 140)
HSLhsl(278, 59%, 35%)
HSVhsv(278, 74%, 55%)
CMYKcmyk(27.1%, 74.3%, 0%, 45.1%)
CIE-LABlab(29.36, 46.97, -44.89)
CIE-LCHlch(29.36, 64.97, 316.30°)
OKLaboklab(41.2% 0.1066 -0.1271)
OKLCHoklch(41.2% 0.166 310)
XYZxyz(10.8431, 5.9802, 25.3890)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66248C #4A8C24
analogous
#32248C #66248C #8C247E
triadic
#66248C #8C6624 #248C66
tetradic
#66248C #8C3224 #4A8C24 #247E8C
square
#66248C #8C3224 #4A8C24 #247E8C
split-complementary
#66248C #7E8C24 #248C32
monochromatic
#1F0B2B #43175B #66248C #8931BD #A657D4

Accessibility & contrast

On white

9.56
#66248C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#66248C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66248C
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66248C#FFFFFF#000000##FFFFFF
##66248C1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428F
Deuteranopia (green-blind)
#0D468A
Tritanopia (blue-blind)
#613C56
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #66248c;
/* rgb */ color: rgb(102, 36, 140);
/* oklch */ color: oklch(41.2% 0.166 310.0);
Tailwind
colors: {
  custom: {
    50: '#9665ae',
    500: '#66248c',
    950: '#000000',
  },
}
SCSS
$custom: #66248c;
$custom-light: #9665ae;
$custom-dark: #000000;
JSON
{
  "hex": "#66248c",
  "rgb": {
    "r": 102,
    "g": 36,
    "b": 140
  },
  "hsl": {
    "h": 278.077,
    "s": 59.091,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41196,
    "c": 0.16591,
    "h": 310
  },
  "luminance": 0.0598
}

Semantic roles & 50–950 ramp

primary
#66248C
secondary
#78B854
accent
#E2467F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #66248C

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

Preview Lab → · Contrast checker → · Palette generator →

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