#66259D#66259D

#66259D is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.7% C 0.182 H 304.1°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#66259D
RGBrgb(102, 37, 157)
HSLhsl(273, 62%, 38%)
HSVhsv(273, 76%, 62%)
CMYKcmyk(35%, 76.4%, 0%, 38.4%)
CIE-LABlab(30.84, 50.51, -52.93)
CIE-LCHlch(30.84, 73.17, 313.66°)
OKLaboklab(42.65% 0.1023 -0.1508)
OKLCHoklch(42.65% 0.182 304.1)
XYZxyz(12.2255, 6.5823, 32.5182)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66259D #5C9D25
analogous
#2A259D #66259D #9D2598
triadic
#66259D #9D6625 #259D66
tetradic
#66259D #9D2A25 #5C9D25 #25989D
square
#66259D #9D2A25 #5C9D25 #25989D
split-complementary
#66259D #989D25 #259D2A
monochromatic
#260E3A #46196B #66259D #8631CE #A362DA

Accessibility & contrast

On white

9.07
#66259D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#66259D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66259D
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66259D#FFFFFF#000000##FFFFFF
##66259D1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A0
Deuteranopia (green-blind)
#00489B
Tritanopia (blue-blind)
#5B4360
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #66259d;
/* rgb */ color: rgb(102, 37, 157);
/* oklch */ color: oklch(42.7% 0.182 304.1);
Tailwind
colors: {
  custom: {
    50: '#9767bb',
    500: '#66259d',
    950: '#000000',
  },
}
SCSS
$custom: #66259d;
$custom-light: #9767bb;
$custom-dark: #000000;
JSON
{
  "hex": "#66259d",
  "rgb": {
    "r": 102,
    "g": 37,
    "b": 157
  },
  "hsl": {
    "h": 272.5,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.42652,
    "c": 0.1822,
    "h": 304.1
  },
  "luminance": 0.06582
}

Semantic roles & 50–950 ramp

primary
#66259D
secondary
#8BBF5E
accent
#E5438D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #66259D

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

Preview Lab → · Contrast checker → · Palette generator →

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