#65187F#65187F

#65187F is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.9% C 0.166 H 315.6°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#65187F
RGBrgb(101, 24, 127)
HSLhsl(285, 68%, 30%)
HSVhsv(285, 81%, 50%)
CMYKcmyk(20.5%, 81.1%, 0%, 50.2%)
CIE-LABlab(26.60, 48.62, -41.24)
CIE-LCHlch(26.60, 63.75, 319.70°)
OKLaboklab(38.9% 0.1189 -0.1164)
OKLCHoklch(38.9% 0.166 315.6)
XYZxyz(9.5236, 4.9526, 20.5289)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#65187F #327F18
analogous
#31187F #65187F #7F1866
triadic
#65187F #7F6518 #187F65
tetradic
#65187F #7F3118 #327F18 #18667F
square
#65187F #7F3118 #327F18 #18667F
split-complementary
#65187F #667F18 #187F31
monochromatic
#14051A #3C0E4C #65187F #8E22B2 #B138D9

Accessibility & contrast

On white

10.55
#65187F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#65187F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #65187F
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##65187F#FFFFFF#000000##FFFFFF
##65187F1.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B82
Deuteranopia (green-blind)
#15417D
Tritanopia (blue-blind)
#63304C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #65187f;
/* rgb */ color: rgb(101, 24, 127);
/* oklch */ color: oklch(38.9% 0.166 315.6);
Tailwind
colors: {
  custom: {
    50: '#955fa5',
    500: '#65187f',
    950: '#000000',
  },
}
SCSS
$custom: #65187f;
$custom-light: #955fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#65187f",
  "rgb": {
    "r": 101,
    "g": 24,
    "b": 127
  },
  "hsl": {
    "h": 284.854,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.38904,
    "c": 0.16639,
    "h": 315.6
  },
  "luminance": 0.04952
}

Semantic roles & 50–950 ramp

primary
#65187F
secondary
#5DB33F
accent
#EB3D69
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #65187F

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

Preview Lab → · Contrast checker → · Palette generator →

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