#65158C#65158C

#65158C is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.7% C 0.181 H 310.8°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#65158C
RGBrgb(101, 21, 140)
HSLhsl(280, 74%, 32%)
HSVhsv(280, 85%, 55%)
CMYKcmyk(27.9%, 85%, 0%, 45.1%)
CIE-LABlab(27.29, 52.31, -48.26)
CIE-LCHlch(27.29, 71.18, 317.31°)
OKLaboklab(39.71% 0.1183 -0.137)
OKLCHoklch(39.71% 0.181 310.8)
XYZxyz(10.3677, 5.1967, 25.2628)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#65158C #3C8C15
analogous
#2A158C #65158C #8C1578
triadic
#65158C #8C6515 #158C65
tetradic
#65158C #8C2A15 #3C8C15 #15788C
square
#65158C #8C2A15 #3C8C15 #15788C
split-complementary
#65158C #788C15 #158C2A
monochromatic
#180522 #3F0D57 #65158C #8B1DC1 #AB3AE1

Accessibility & contrast

On white

10.30
#65158C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#65158C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #65158C
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##65158C#FFFFFF#000000##FFFFFF
##65158C1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8F
Deuteranopia (green-blind)
#00428A
Tritanopia (blue-blind)
#603553
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #65158c;
/* rgb */ color: rgb(101, 21, 140);
/* oklch */ color: oklch(39.7% 0.181 310.8);
Tailwind
colors: {
  custom: {
    50: '#965fae',
    500: '#65158c',
    950: '#000000',
  },
}
SCSS
$custom: #65158c;
$custom-light: #965fae;
$custom-dark: #000000;
JSON
{
  "hex": "#65158c",
  "rgb": {
    "r": 101,
    "g": 21,
    "b": 140
  },
  "hsl": {
    "h": 280.336,
    "s": 73.913,
    "l": 31.569
  },
  "oklch": {
    "l": 0.39706,
    "c": 0.181,
    "h": 310.8
  },
  "luminance": 0.05196
}

Semantic roles & 50–950 ramp

primary
#65158C
secondary
#68C03D
accent
#F13774
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #65158C

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

Preview Lab → · Contrast checker → · Palette generator →

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