#66239F#66239F

#66239F is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.6% C 0.186 H 303.8°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#66239F
RGBrgb(102, 35, 159)
HSLhsl(272, 64%, 38%)
HSVhsv(272, 78%, 62%)
CMYKcmyk(35.8%, 78%, 0%, 37.6%)
CIE-LABlab(30.71, 51.81, -54.35)
CIE-LCHlch(30.71, 75.09, 313.63°)
OKLaboklab(42.62% 0.1036 -0.1549)
OKLCHoklch(42.62% 0.186 303.8)
XYZxyz(12.3371, 6.5301, 33.4046)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66239F #5C9F23
analogous
#28239F #66239F #9F239A
triadic
#66239F #9F6623 #239F66
tetradic
#66239F #9F2823 #5C9F23 #239A9F
square
#66239F #9F2823 #5C9F23 #239A9F
split-complementary
#66239F #9A9F23 #239F28
monochromatic
#260D3B #46186D #66239F #862ED1 #A360DC

Accessibility & contrast

On white

9.11
#66239F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#66239F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66239F
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66239F#FFFFFF#000000##FFFFFF
##66239F1.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#00489D
Tritanopia (blue-blind)
#5B4360
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #66239f;
/* rgb */ color: rgb(102, 35, 159);
/* oklch */ color: oklch(42.6% 0.186 303.8);
Tailwind
colors: {
  custom: {
    50: '#9766bc',
    500: '#66239f',
    950: '#000000',
  },
}
SCSS
$custom: #66239f;
$custom-light: #9766bc;
$custom-dark: #000000;
JSON
{
  "hex": "#66239f",
  "rgb": {
    "r": 102,
    "g": 35,
    "b": 159
  },
  "hsl": {
    "h": 272.419,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.42616,
    "c": 0.18638,
    "h": 303.8
  },
  "luminance": 0.0653
}

Semantic roles & 50–950 ramp

primary
#66239F
secondary
#8BC15D
accent
#E7418D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #66239F

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

Preview Lab → · Contrast checker → · Palette generator →

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