#65178B#65178B

#65178B is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.8% C 0.178 H 311.0°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#65178B
RGBrgb(101, 23, 139)
HSLhsl(280, 72%, 32%)
HSVhsv(280, 83%, 55%)
CMYKcmyk(27.3%, 83.5%, 0%, 45.5%)
CIE-LABlab(27.42, 51.48, -47.43)
CIE-LCHlch(27.42, 70.00, 317.35°)
OKLaboklab(39.77% 0.1171 -0.1345)
OKLCHoklch(39.77% 0.178 311)
XYZxyz(10.3325, 5.2438, 24.8890)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#65178B #3D8B17
analogous
#2B178B #65178B #8B1777
triadic
#65178B #8B6517 #178B65
tetradic
#65178B #8B2B17 #3D8B17 #17778B
square
#65178B #8B2B17 #3D8B17 #17778B
split-complementary
#65178B #778B17 #178B2B
monochromatic
#190622 #3F0E56 #65178B #8B20C0 #AA3DDF

Accessibility & contrast

On white

10.25
#65178B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#65178B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #65178B
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##65178B#FFFFFF#000000##FFFFFF
##65178B1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8E
Deuteranopia (green-blind)
#004289
Tritanopia (blue-blind)
#603552
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #65178b;
/* rgb */ color: rgb(101, 23, 139);
/* oklch */ color: oklch(39.8% 0.178 311.0);
Tailwind
colors: {
  custom: {
    50: '#965fae',
    500: '#65178b',
    950: '#000000',
  },
}
SCSS
$custom: #65178b;
$custom-light: #965fae;
$custom-dark: #000000;
JSON
{
  "hex": "#65178b",
  "rgb": {
    "r": 101,
    "g": 23,
    "b": 139
  },
  "hsl": {
    "h": 280.345,
    "s": 71.605,
    "l": 31.765
  },
  "oklch": {
    "l": 0.39771,
    "c": 0.17837,
    "h": 311
  },
  "luminance": 0.05244
}

Semantic roles & 50–950 ramp

primary
#65178B
secondary
#69BF3F
accent
#EE3975
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #65178B

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

Preview Lab → · Contrast checker → · Palette generator →

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