#66258F#66258F

#66258F is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.5% C 0.168 H 308.8°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#66258F
RGBrgb(102, 37, 143)
HSLhsl(277, 59%, 35%)
HSVhsv(277, 74%, 56%)
CMYKcmyk(28.7%, 74.1%, 0%, 43.9%)
CIE-LABlab(29.74, 47.22, -46.13)
CIE-LCHlch(29.74, 66.02, 315.67°)
OKLaboklab(41.54% 0.1051 -0.1308)
OKLCHoklch(41.54% 0.168 308.8)
XYZxyz(11.0980, 6.1313, 26.5801)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66258F #4E8F25
analogous
#31258F #66258F #8F2583
triadic
#66258F #8F6625 #258F66
tetradic
#66258F #8F3125 #4E8F25 #25838F
square
#66258F #8F3125 #4E8F25 #25838F
split-complementary
#66258F #838F25 #258F31
monochromatic
#210C2E #43185E #66258F #8932C0 #A55AD4

Accessibility & contrast

On white

9.43
#66258F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#66258F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66258F
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66258F#FFFFFF#000000##FFFFFF
##66258F1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#07478D
Tritanopia (blue-blind)
#603D58
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #66258f;
/* rgb */ color: rgb(102, 37, 143);
/* oklch */ color: oklch(41.5% 0.168 308.8);
Tailwind
colors: {
  custom: {
    50: '#9666b0',
    500: '#66258f',
    950: '#000000',
  },
}
SCSS
$custom: #66258f;
$custom-light: #9666b0;
$custom-dark: #000000;
JSON
{
  "hex": "#66258f",
  "rgb": {
    "r": 102,
    "g": 37,
    "b": 143
  },
  "hsl": {
    "h": 276.792,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41535,
    "c": 0.16777,
    "h": 308.8
  },
  "luminance": 0.06131
}

Semantic roles & 50–950 ramp

primary
#66258F
secondary
#7DB957
accent
#E24682
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #66258F

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

Preview Lab → · Contrast checker → · Palette generator →

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