#65158D#65158D

#65158D is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.8% C 0.182 H 310.5°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#65158D
RGBrgb(101, 21, 141)
HSLhsl(280, 74%, 32%)
HSVhsv(280, 85%, 55%)
CMYKcmyk(28.4%, 85.1%, 0%, 44.7%)
CIE-LABlab(27.37, 52.53, -48.75)
CIE-LCHlch(27.37, 71.66, 317.14°)
OKLaboklab(39.79% 0.118 -0.1384)
OKLCHoklch(39.79% 0.182 310.5)
XYZxyz(10.4418, 5.2264, 25.6529)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#65158D #3D8D15
analogous
#29158D #65158D #8D1579
triadic
#65158D #8D6515 #158D65
tetradic
#65158D #8D2915 #3D8D15 #15798D
square
#65158D #8D2915 #3D8D15 #15798D
split-complementary
#65158D #798D15 #158D29
monochromatic
#190522 #3F0D58 #65158D #8B1DC2 #AA3BE2

Accessibility & contrast

On white

10.27
#65158D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#65158D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #65158D
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##65158D#FFFFFF#000000##FFFFFF
##65158D1.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #65158d;
/* rgb */ color: rgb(101, 21, 141);
/* oklch */ color: oklch(39.8% 0.182 310.5);
Tailwind
colors: {
  custom: {
    50: '#965faf',
    500: '#65158d',
    950: '#000000',
  },
}
SCSS
$custom: #65158d;
$custom-light: #965faf;
$custom-dark: #000000;
JSON
{
  "hex": "#65158d",
  "rgb": {
    "r": 101,
    "g": 21,
    "b": 141
  },
  "hsl": {
    "h": 280,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.39789,
    "c": 0.18191,
    "h": 310.5
  },
  "luminance": 0.05226
}

Semantic roles & 50–950 ramp

primary
#65158D
secondary
#69C13D
accent
#F13775
background
#F9F5FA
surface
#F2EAF5
border
#CCC6CF
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #65158D

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

Preview Lab → · Contrast checker → · Palette generator →

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