#65178D#65178D

#65178D is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.9% C 0.180 H 310.3°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#65178D
RGBrgb(101, 23, 141)
HSLhsl(280, 72%, 32%)
HSVhsv(280, 84%, 55%)
CMYKcmyk(28.4%, 83.7%, 0%, 44.7%)
CIE-LABlab(27.58, 51.91, -48.41)
CIE-LCHlch(27.58, 70.98, 317.00°)
OKLaboklab(39.93% 0.1166 -0.1374)
OKLCHoklch(39.93% 0.18 310.3)
XYZxyz(10.4800, 5.3028, 25.6656)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#65178D #3F8D17
analogous
#2A178D #65178D #8D177A
triadic
#65178D #8D6517 #178D65
tetradic
#65178D #8D2A17 #3F8D17 #177A8D
square
#65178D #8D2A17 #3F8D17 #177A8D
split-complementary
#65178D #7A8D17 #178D2A
monochromatic
#1A0624 #3F0E58 #65178D #8B20C2 #A93FE0

Accessibility & contrast

On white

10.19
#65178D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#65178D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #65178D
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##65178D#FFFFFF#000000##FFFFFF
##65178D1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E90
Deuteranopia (green-blind)
#00428B
Tritanopia (blue-blind)
#5F3653
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #65178d;
/* rgb */ color: rgb(101, 23, 141);
/* oklch */ color: oklch(39.9% 0.180 310.3);
Tailwind
colors: {
  custom: {
    50: '#9660af',
    500: '#65178d',
    950: '#000000',
  },
}
SCSS
$custom: #65178d;
$custom-light: #9660af;
$custom-dark: #000000;
JSON
{
  "hex": "#65178d",
  "rgb": {
    "r": 101,
    "g": 23,
    "b": 141
  },
  "hsl": {
    "h": 279.661,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.39935,
    "c": 0.18022,
    "h": 310.3
  },
  "luminance": 0.05303
}

Semantic roles & 50–950 ramp

primary
#65178D
secondary
#6BC040
accent
#EF3977
background
#F9F5FA
surface
#F2EAF5
border
#CCC6CF
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #65178D

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

Preview Lab → · Contrast checker → · Palette generator →

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