#66248D#66248D

#66248D is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.3% C 0.167 H 309.6°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#66248D
RGBrgb(102, 36, 141)
HSLhsl(278, 59%, 35%)
HSVhsv(278, 74%, 55%)
CMYKcmyk(27.7%, 74.5%, 0%, 44.7%)
CIE-LABlab(29.44, 47.20, -45.39)
CIE-LCHlch(29.44, 65.48, 316.12°)
OKLaboklab(41.27% 0.1064 -0.1286)
OKLCHoklch(41.27% 0.167 309.6)
XYZxyz(10.9171, 6.0098, 25.7790)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66248D #4B8D24
analogous
#31248D #66248D #8D2480
triadic
#66248D #8D6624 #248D66
tetradic
#66248D #8D3124 #4B8D24 #24808D
square
#66248D #8D3124 #4B8D24 #24808D
split-complementary
#66248D #808D24 #248D31
monochromatic
#1F0B2B #43185C #66248D #8930BE #A657D4

Accessibility & contrast

On white

9.54
#66248D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #66248D
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66248D#FFFFFF#000000##FFFFFF
##66248D1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004390
Deuteranopia (green-blind)
#0B468B
Tritanopia (blue-blind)
#603C56
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #66248d;
/* rgb */ color: rgb(102, 36, 141);
/* oklch */ color: oklch(41.3% 0.167 309.6);
Tailwind
colors: {
  custom: {
    50: '#9665af',
    500: '#66248d',
    950: '#000000',
  },
}
SCSS
$custom: #66248d;
$custom-light: #9665af;
$custom-dark: #000000;
JSON
{
  "hex": "#66248d",
  "rgb": {
    "r": 102,
    "g": 36,
    "b": 141
  },
  "hsl": {
    "h": 277.714,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41272,
    "c": 0.16692,
    "h": 309.6
  },
  "luminance": 0.0601
}

Semantic roles & 50–950 ramp

primary
#66248D
secondary
#7AB854
accent
#E34580
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #66248D

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

Preview Lab → · Contrast checker → · Palette generator →

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