#65157F#65157F

#65157F is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.7% C 0.169 H 315.8°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#65157F
RGBrgb(101, 21, 127)
HSLhsl(285, 72%, 29%)
HSVhsv(285, 83%, 50%)
CMYKcmyk(20.5%, 83.5%, 0%, 50.2%)
CIE-LABlab(26.26, 49.60, -41.78)
CIE-LCHlch(26.26, 64.85, 319.89°)
OKLaboklab(38.67% 0.1214 -0.1179)
OKLCHoklch(38.67% 0.169 315.8)
XYZxyz(9.4651, 4.8357, 20.5094)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#65157F #2F7F15
analogous
#30157F #65157F #7F1564
triadic
#65157F #7F6515 #157F65
tetradic
#65157F #7F3015 #2F7F15 #15647F
square
#65157F #7F3015 #2F7F15 #15647F
split-complementary
#65157F #647F15 #157F30
monochromatic
#15041A #3B0C4A #65157F #8F1EB4 #B331DD

Accessibility & contrast

On white

10.68
#65157F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#65157F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #65157F
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##65157F#FFFFFF#000000##FFFFFF
##65157F1.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A82
Deuteranopia (green-blind)
#12407D
Tritanopia (blue-blind)
#632F4B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #65157f;
/* rgb */ color: rgb(101, 21, 127);
/* oklch */ color: oklch(38.7% 0.169 315.8);
Tailwind
colors: {
  custom: {
    50: '#955ea5',
    500: '#65157f',
    950: '#000000',
  },
}
SCSS
$custom: #65157f;
$custom-light: #955ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#65157f",
  "rgb": {
    "r": 101,
    "g": 21,
    "b": 127
  },
  "hsl": {
    "h": 285.283,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38667,
    "c": 0.16926,
    "h": 315.8
  },
  "luminance": 0.04835
}

Semantic roles & 50–950 ramp

primary
#65157F
secondary
#59B43C
accent
#EE3966
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #65157F

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

Preview Lab → · Contrast checker → · Palette generator →

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