#66248B#66248B

#66248B is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.1% C 0.165 H 310.3°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#66248B
RGBrgb(102, 36, 139)
HSLhsl(278, 59%, 34%)
HSVhsv(278, 74%, 55%)
CMYKcmyk(26.6%, 74.1%, 0%, 45.5%)
CIE-LABlab(29.29, 46.74, -44.39)
CIE-LCHlch(29.29, 64.46, 316.48°)
OKLaboklab(41.12% 0.1067 -0.1257)
OKLCHoklch(41.12% 0.165 310.3)
XYZxyz(10.7697, 5.9509, 25.0024)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66248B #498B24
analogous
#33248B #66248B #8B247D
triadic
#66248B #8B6624 #248B66
tetradic
#66248B #8B3324 #498B24 #247D8B
square
#66248B #8B3324 #498B24 #247D8B
split-complementary
#66248B #7D8B24 #248B33
monochromatic
#1F0B2A #42175A #66248B #8A31BC #A656D3

Accessibility & contrast

On white

9.59
#66248B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#66248B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66248B
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66248B#FFFFFF#000000##FFFFFF
##66248B1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428E
Deuteranopia (green-blind)
#104689
Tritanopia (blue-blind)
#613B55
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #66248b;
/* rgb */ color: rgb(102, 36, 139);
/* oklch */ color: oklch(41.1% 0.165 310.3);
Tailwind
colors: {
  custom: {
    50: '#9665ae',
    500: '#66248b',
    950: '#000000',
  },
}
SCSS
$custom: #66248b;
$custom-light: #9665ae;
$custom-dark: #000000;
JSON
{
  "hex": "#66248b",
  "rgb": {
    "r": 102,
    "g": 36,
    "b": 139
  },
  "hsl": {
    "h": 278.447,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41119,
    "c": 0.16488,
    "h": 310.3
  },
  "luminance": 0.05951
}

Semantic roles & 50–950 ramp

primary
#66248B
secondary
#77B753
accent
#E2467E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #66248B

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

Preview Lab → · Contrast checker → · Palette generator →

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