#65158F#65158F

#65158F is a dark, vivid violet. Relative luminance 0.053; OKLCH L 40.0% C 0.184 H 309.7°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#65158F
RGBrgb(101, 21, 143)
HSLhsl(279, 74%, 32%)
HSVhsv(279, 85%, 56%)
CMYKcmyk(29.4%, 85.3%, 0%, 43.9%)
CIE-LABlab(27.54, 52.96, -49.72)
CIE-LCHlch(27.54, 72.64, 316.81°)
OKLaboklab(39.96% 0.1175 -0.1413)
OKLCHoklch(39.96% 0.184 309.7)
XYZxyz(10.5919, 5.2864, 26.4437)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#65158F #3F8F15
analogous
#28158F #65158F #8F157C
triadic
#65158F #8F6515 #158F65
tetradic
#65158F #8F2815 #3F8F15 #157C8F
square
#65158F #8F2815 #3F8F15 #157C8F
split-complementary
#65158F #7C8F15 #158F28
monochromatic
#1A0524 #3F0D5A #65158F #8B1DC4 #A93CE2

Accessibility & contrast

On white

10.21
#65158F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#65158F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #65158F
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##65158F#FFFFFF#000000##FFFFFF
##65158F1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#00428D
Tritanopia (blue-blind)
#5F3654
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #65158f;
/* rgb */ color: rgb(101, 21, 143);
/* oklch */ color: oklch(40.0% 0.184 309.7);
Tailwind
colors: {
  custom: {
    50: '#965fb1',
    500: '#65158f',
    950: '#000000',
  },
}
SCSS
$custom: #65158f;
$custom-light: #965fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#65158f",
  "rgb": {
    "r": 101,
    "g": 21,
    "b": 143
  },
  "hsl": {
    "h": 279.344,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.39955,
    "c": 0.18374,
    "h": 309.7
  },
  "luminance": 0.05286
}

Semantic roles & 50–950 ramp

primary
#65158F
secondary
#6BC23E
accent
#F13777
background
#F9F5FB
surface
#F2EAF6
border
#CCC6D0
text
#0E0511
muted
#7E7980

Preview Lab

Preview with #65158F

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

Preview Lab → · Contrast checker → · Palette generator →

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