#65168A#65168A

#65168A is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.6% C 0.178 H 311.5°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#65168A
RGBrgb(101, 22, 138)
HSLhsl(281, 73%, 31%)
HSVhsv(281, 84%, 54%)
CMYKcmyk(26.8%, 84.1%, 0%, 45.9%)
CIE-LABlab(27.23, 51.58, -47.11)
CIE-LCHlch(27.23, 69.86, 317.59°)
OKLaboklab(39.62% 0.1181 -0.1336)
OKLCHoklch(39.62% 0.178 311.5)
XYZxyz(10.2403, 5.1758, 24.4994)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#65168A #3B8A16
analogous
#2B168A #65168A #8A1675
triadic
#65168A #8A6516 #168A65
tetradic
#65168A #8A2B16 #3B8A16 #16758A
square
#65168A #8A2B16 #3B8A16 #16758A
split-complementary
#65168A #758A16 #168A2B
monochromatic
#180520 #3E0E55 #65168A #8C1EBF #AB3BE0

Accessibility & contrast

On white

10.32
#65168A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#65168A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #65168A
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##65168A#FFFFFF#000000##FFFFFF
##65168A1.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8D
Deuteranopia (green-blind)
#004288
Tritanopia (blue-blind)
#603452
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #65168a;
/* rgb */ color: rgb(101, 22, 138);
/* oklch */ color: oklch(39.6% 0.178 311.5);
Tailwind
colors: {
  custom: {
    50: '#965fad',
    500: '#65168a',
    950: '#000000',
  },
}
SCSS
$custom: #65168a;
$custom-light: #965fad;
$custom-dark: #000000;
JSON
{
  "hex": "#65168a",
  "rgb": {
    "r": 101,
    "g": 22,
    "b": 138
  },
  "hsl": {
    "h": 280.862,
    "s": 72.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.39615,
    "c": 0.17834,
    "h": 311.5
  },
  "luminance": 0.05175
}

Semantic roles & 50–950 ramp

primary
#65168A
secondary
#67BE3E
accent
#EF3973
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #65168A

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

Preview Lab → · Contrast checker → · Palette generator →

#65168A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva