#66258B#66258B

#66258B is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.2% C 0.164 H 310.2°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#66258B
RGBrgb(102, 37, 139)
HSLhsl(278, 58%, 35%)
HSVhsv(278, 73%, 55%)
CMYKcmyk(26.6%, 73.4%, 0%, 45.5%)
CIE-LABlab(29.44, 46.30, -44.14)
CIE-LCHlch(29.44, 63.97, 316.37°)
OKLaboklab(41.23% 0.1057 -0.1249)
OKLCHoklch(41.23% 0.164 310.2)
XYZxyz(10.8003, 6.0122, 25.0126)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66258B #4A8B25
analogous
#33258B #66258B #8B257D
triadic
#66258B #8B6625 #258B66
tetradic
#66258B #8B3325 #4A8B25 #257D8B
square
#66258B #8B3325 #4A8B25 #257D8B
split-complementary
#66258B #7D8B25 #258B33
monochromatic
#1F0B2A #43185B #66258B #8932BB #A658D3

Accessibility & contrast

On white

9.54
#66258B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#66258B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66258B
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66258B#FFFFFF#000000##FFFFFF
##66258B1.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)
#00438E
Deuteranopia (green-blind)
#124689
Tritanopia (blue-blind)
#613C55
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #66258b;
/* rgb */ color: rgb(102, 37, 139);
/* oklch */ color: oklch(41.2% 0.164 310.2);
Tailwind
colors: {
  custom: {
    50: '#9566ae',
    500: '#66258b',
    950: '#000000',
  },
}
SCSS
$custom: #66258b;
$custom-light: #9566ae;
$custom-dark: #000000;
JSON
{
  "hex": "#66258b",
  "rgb": {
    "r": 102,
    "g": 37,
    "b": 139
  },
  "hsl": {
    "h": 278.235,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.4123,
    "c": 0.16365,
    "h": 310.2
  },
  "luminance": 0.06012
}

Semantic roles & 50–950 ramp

primary
#66258B
secondary
#78B755
accent
#E1477F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #66258B

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

Preview Lab → · Contrast checker → · Palette generator →

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