#66309B#66309B

#66309B is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.8% C 0.167 H 303.3°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#66309B
RGBrgb(102, 48, 155)
HSLhsl(270, 53%, 40%)
HSVhsv(270, 69%, 61%)
CMYKcmyk(34.2%, 69%, 0%, 39.2%)
CIE-LABlab(32.49, 44.92, -49.03)
CIE-LCHlch(32.49, 66.50, 312.50°)
OKLaboklab(43.78% 0.0914 -0.1394)
OKLCHoklch(43.78% 0.167 303.3)
XYZxyz(12.4515, 7.3053, 31.7581)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66309B #659B30
analogous
#30309B #66309B #9B309B
triadic
#66309B #9B6630 #309B66
tetradic
#66309B #9B3030 #659B30 #309B9B
square
#66309B #9B3030 #659B30 #309B9B
split-complementary
#66309B #9B9B30 #309B30
monochromatic
#28133E #47226C #66309B #8543C5 #A372D3

Accessibility & contrast

On white

8.53
#66309B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#66309B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66309B
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66309B#FFFFFF#000000##FFFFFF
##66309B1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9E
Deuteranopia (green-blind)
#004C99
Tritanopia (blue-blind)
#5C4861
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #66309b;
/* rgb */ color: rgb(102, 48, 155);
/* oklch */ color: oklch(43.8% 0.167 303.3);
Tailwind
colors: {
  custom: {
    50: '#966cb9',
    500: '#66309b',
    950: '#000000',
  },
}
SCSS
$custom: #66309b;
$custom-light: #966cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#66309b",
  "rgb": {
    "r": 102,
    "g": 48,
    "b": 155
  },
  "hsl": {
    "h": 270.28,
    "s": 52.709,
    "l": 39.804
  },
  "oklch": {
    "l": 0.43779,
    "c": 0.16667,
    "h": 303.3
  },
  "luminance": 0.07305
}

Semantic roles & 50–950 ramp

primary
#66309B
secondary
#93BB6C
accent
#DC4C93
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #66309B

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

Preview Lab → · Contrast checker → · Palette generator →

#66309B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva