#66259C#66259C

#66259C is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.6% C 0.181 H 304.5°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#66259C
RGBrgb(102, 37, 156)
HSLhsl(273, 62%, 38%)
HSVhsv(273, 76%, 61%)
CMYKcmyk(34.6%, 76.3%, 0%, 38.8%)
CIE-LABlab(30.76, 50.27, -52.46)
CIE-LCHlch(30.76, 72.66, 313.78°)
OKLaboklab(42.57% 0.1025 -0.1494)
OKLCHoklch(42.57% 0.181 304.5)
XYZxyz(12.1404, 6.5483, 32.0704)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66259C #5B9C25
analogous
#2A259C #66259C #9C2596
triadic
#66259C #9C6625 #259C66
tetradic
#66259C #9C2A25 #5B9C25 #25969C
square
#66259C #9C2A25 #5B9C25 #25969C
split-complementary
#66259C #969C25 #259C2A
monochromatic
#250E39 #46196B #66259C #8631CD #A362DA

Accessibility & contrast

On white

9.09
#66259C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#66259C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66259C
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66259C#FFFFFF#000000##FFFFFF
##66259C1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479F
Deuteranopia (green-blind)
#00489A
Tritanopia (blue-blind)
#5C435F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #66259c;
/* rgb */ color: rgb(102, 37, 156);
/* oklch */ color: oklch(42.6% 0.181 304.5);
Tailwind
colors: {
  custom: {
    50: '#9767ba',
    500: '#66259c',
    950: '#000000',
  },
}
SCSS
$custom: #66259c;
$custom-light: #9767ba;
$custom-dark: #000000;
JSON
{
  "hex": "#66259c",
  "rgb": {
    "r": 102,
    "g": 37,
    "b": 156
  },
  "hsl": {
    "h": 272.773,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4257,
    "c": 0.18117,
    "h": 304.5
  },
  "luminance": 0.06548
}

Semantic roles & 50–950 ramp

primary
#66259C
secondary
#8ABF5E
accent
#E5438C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #66259C

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

Preview Lab → · Contrast checker → · Palette generator →

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