#66236A#66236A

#66236A is a dark, vivid purple. Relative luminance 0.051; OKLCH L 38.7% C 0.133 H 325.5°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#66236A
RGBrgb(102, 35, 106)
HSLhsl(297, 50%, 28%)
HSVhsv(297, 67%, 42%)
CMYKcmyk(3.8%, 67%, 0%, 58.4%)
CIE-LABlab(26.93, 40.15, -27.30)
CIE-LCHlch(26.93, 48.55, 325.78°)
OKLaboklab(38.72% 0.1099 -0.0757)
OKLCHoklch(38.72% 0.133 325.5)
XYZxyz(8.6818, 5.0680, 14.1538)
Luminance0.0507 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66236A #276A23
analogous
#43236A #66236A #6A234A
triadic
#66236A #6A6623 #236A66
tetradic
#66236A #6A4323 #276A23 #234A6A
square
#66236A #6A4323 #276A23 #234A6A
split-complementary
#66236A #4A6A23 #236A43
monochromatic
#160817 #3A143C #66236A #923298 #BB46C2

Accessibility & contrast

On white

10.43
#66236A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#66236A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66236A
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66236A#FFFFFF#000000##FFFFFF
##66236A1.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173A6C
Deuteranopia (green-blind)
#314368
Tritanopia (blue-blind)
#682D43
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #66236a;
/* rgb */ color: rgb(102, 35, 106);
/* oklch */ color: oklch(38.7% 0.133 325.5);
Tailwind
colors: {
  custom: {
    50: '#946395',
    500: '#66236a',
    950: '#000000',
  },
}
SCSS
$custom: #66236a;
$custom-light: #946395;
$custom-dark: #000000;
JSON
{
  "hex": "#66236a",
  "rgb": {
    "r": 102,
    "g": 35,
    "b": 106
  },
  "hsl": {
    "h": 296.62,
    "s": 50.355,
    "l": 27.647
  },
  "oklch": {
    "l": 0.38724,
    "c": 0.13345,
    "h": 325.5
  },
  "luminance": 0.05067
}

Semantic roles & 50–950 ramp

primary
#66236A
secondary
#509D4B
accent
#DA4E56
background
#F9F6F9
surface
#F2EBF1
border
#CCC6CB
text
#0D060D
muted
#7E7A7E

Preview Lab

Preview with #66236A

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

Preview Lab → · Contrast checker → · Palette generator →

#66236A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva