#66339D#66339D

#66339D is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.3% C 0.165 H 302.1°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#66339D
RGBrgb(102, 51, 157)
HSLhsl(269, 51%, 41%)
HSVhsv(269, 68%, 62%)
CMYKcmyk(35%, 67.5%, 0%, 38.4%)
CIE-LABlab(33.19, 43.90, -49.11)
CIE-LCHlch(33.19, 65.87, 311.79°)
OKLaboklab(44.33% 0.0878 -0.1396)
OKLCHoklch(44.33% 0.165 302.1)
XYZxyz(12.7477, 7.6267, 32.6923)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66339D #6A9D33
analogous
#33359D #66339D #9B339D
triadic
#66339D #9D6633 #339D66
tetradic
#66339D #9D3335 #6A9D33 #339D9B
square
#66339D #9D3335 #6A9D33 #339D9B
split-complementary
#66339D #9D9B33 #359D33
monochromatic
#2A1541 #48246F #66339D #8449C4 #A377D3

Accessibility & contrast

On white

8.32
#66339D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#66339D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66339D
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66339D#FFFFFF#000000##FFFFFF
##66339D1.008.322.538.32
#FFFFFF8.321.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA0
Deuteranopia (green-blind)
#014E9B
Tritanopia (blue-blind)
#5B4B63
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #66339d;
/* rgb */ color: rgb(102, 51, 157);
/* oklch */ color: oklch(44.3% 0.165 302.1);
Tailwind
colors: {
  custom: {
    50: '#966ebb',
    500: '#66339d',
    950: '#000000',
  },
}
SCSS
$custom: #66339d;
$custom-light: #966ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#66339d",
  "rgb": {
    "r": 102,
    "g": 51,
    "b": 157
  },
  "hsl": {
    "h": 268.868,
    "s": 50.962,
    "l": 40.784
  },
  "oklch": {
    "l": 0.44328,
    "c": 0.16491,
    "h": 302.1
  },
  "luminance": 0.07627
}

Semantic roles & 50–950 ramp

primary
#66339D
secondary
#97BB70
accent
#DA4D97
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #66339D

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

Preview Lab → · Contrast checker → · Palette generator →

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