#65178F#65178F

#65178F is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.1% C 0.182 H 309.6°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#65178F
RGBrgb(101, 23, 143)
HSLhsl(279, 72%, 33%)
HSVhsv(279, 84%, 56%)
CMYKcmyk(29.4%, 83.9%, 0%, 43.9%)
CIE-LABlab(27.74, 52.35, -49.38)
CIE-LCHlch(27.74, 71.96, 316.67°)
OKLaboklab(40.1% 0.1161 -0.1403)
OKLCHoklch(40.1% 0.182 309.6)
XYZxyz(10.6301, 5.3629, 26.4564)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#65178F #418F17
analogous
#29178F #65178F #8F177D
triadic
#65178F #8F6517 #178F65
tetradic
#65178F #8F2917 #418F17 #177D8F
square
#65178F #8F2917 #418F17 #177D8F
split-complementary
#65178F #7D8F17 #178F29
monochromatic
#1B0626 #400F5A #65178F #8A1FC4 #A840E0

Accessibility & contrast

On white

10.13
#65178F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#65178F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #65178F
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##65178F#FFFFFF#000000##FFFFFF
##65178F1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#00428D
Tritanopia (blue-blind)
#5F3755
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #65178f;
/* rgb */ color: rgb(101, 23, 143);
/* oklch */ color: oklch(40.1% 0.182 309.6);
Tailwind
colors: {
  custom: {
    50: '#9660b1',
    500: '#65178f',
    950: '#000000',
  },
}
SCSS
$custom: #65178f;
$custom-light: #9660b1;
$custom-dark: #000000;
JSON
{
  "hex": "#65178f",
  "rgb": {
    "r": 101,
    "g": 23,
    "b": 143
  },
  "hsl": {
    "h": 279,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40101,
    "c": 0.18207,
    "h": 309.6
  },
  "luminance": 0.05363
}

Semantic roles & 50–950 ramp

primary
#65178F
secondary
#6EC141
accent
#EF3979
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #65178F

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

Preview Lab → · Contrast checker → · Palette generator →

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