#66258E#66258E

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

Color values

HEX#66258E
RGBrgb(102, 37, 142)
HSLhsl(277, 59%, 35%)
HSVhsv(277, 74%, 56%)
CMYKcmyk(28.2%, 73.9%, 0%, 44.3%)
CIE-LABlab(29.67, 46.99, -45.64)
CIE-LCHlch(29.67, 65.50, 315.84°)
OKLaboklab(41.46% 0.1052 -0.1293)
OKLCHoklch(41.46% 0.167 309.1)
XYZxyz(11.0226, 6.1011, 26.1829)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66258E #4D8E25
analogous
#32258E #66258E #8E2581
triadic
#66258E #8E6625 #258E66
tetradic
#66258E #8E3225 #4D8E25 #25818E
square
#66258E #8E3225 #4D8E25 #25818E
split-complementary
#66258E #818E25 #258E32
monochromatic
#200C2D #43185D #66258E #8932BF #A55AD4

Accessibility & contrast

On white

9.46
#66258E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#66258E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66258E
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66258E#FFFFFF#000000##FFFFFF
##66258E1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #66258e;
/* rgb */ color: rgb(102, 37, 142);
/* oklch */ color: oklch(41.5% 0.167 309.1);
Tailwind
colors: {
  custom: {
    50: '#9666b0',
    500: '#66258e',
    950: '#000000',
  },
}
SCSS
$custom: #66258e;
$custom-light: #9666b0;
$custom-dark: #000000;
JSON
{
  "hex": "#66258e",
  "rgb": {
    "r": 102,
    "g": 37,
    "b": 142
  },
  "hsl": {
    "h": 277.143,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41458,
    "c": 0.16674,
    "h": 309.1
  },
  "luminance": 0.06101
}

Semantic roles & 50–950 ramp

primary
#66258E
secondary
#7CB956
accent
#E24681
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #66258E

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

Preview Lab → · Contrast checker → · Palette generator →

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