#66248E#66248E

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

Color values

HEX#66248E
RGBrgb(102, 36, 142)
HSLhsl(277, 60%, 35%)
HSVhsv(277, 75%, 56%)
CMYKcmyk(28.2%, 74.6%, 0%, 44.3%)
CIE-LABlab(29.51, 47.43, -45.88)
CIE-LCHlch(29.51, 65.99, 315.95°)
OKLaboklab(41.35% 0.1063 -0.1301)
OKLCHoklch(41.35% 0.168 309.2)
XYZxyz(10.9919, 6.0397, 26.1727)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66248E #4C8E24
analogous
#31248E #66248E #8E2481
triadic
#66248E #8E6624 #248E66
tetradic
#66248E #8E3124 #4C8E24 #24818E
square
#66248E #8E3124 #4C8E24 #24818E
split-complementary
#66248E #818E24 #248E31
monochromatic
#200B2C #43185D #66248E #8930BF #A658D5

Accessibility & contrast

On white

9.51
#66248E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#66248E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66248E
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66248E#FFFFFF#000000##FFFFFF
##66248E1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004391
Deuteranopia (green-blind)
#08468C
Tritanopia (blue-blind)
#603D57
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #66248e;
/* rgb */ color: rgb(102, 36, 142);
/* oklch */ color: oklch(41.3% 0.168 309.2);
Tailwind
colors: {
  custom: {
    50: '#9665b0',
    500: '#66248e',
    950: '#000000',
  },
}
SCSS
$custom: #66248e;
$custom-light: #9665b0;
$custom-dark: #000000;
JSON
{
  "hex": "#66248e",
  "rgb": {
    "r": 102,
    "g": 36,
    "b": 142
  },
  "hsl": {
    "h": 277.358,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.41349,
    "c": 0.16795,
    "h": 309.2
  },
  "luminance": 0.0604
}

Semantic roles & 50–950 ramp

primary
#66248E
secondary
#7BB955
accent
#E34581
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #66248E

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

Preview Lab → · Contrast checker → · Palette generator →

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