#65127F#65127F

#65127F is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.5% C 0.172 H 316.0°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#65127F
RGBrgb(101, 18, 127)
HSLhsl(286, 75%, 28%)
HSVhsv(286, 86%, 50%)
CMYKcmyk(20.5%, 85.8%, 0%, 50.2%)
CIE-LABlab(25.96, 50.48, -42.27)
CIE-LCHlch(25.96, 65.85, 320.06°)
OKLaboklab(38.45% 0.1236 -0.1194)
OKLCHoklch(38.45% 0.172 316)
XYZxyz(9.4133, 4.7320, 20.4921)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#65127F #2C7F12
analogous
#2E127F #65127F #7F1262
triadic
#65127F #7F6512 #127F65
tetradic
#65127F #7F2E12 #2C7F12 #12627F
square
#65127F #7F2E12 #2C7F12 #12627F
split-complementary
#65127F #627F12 #127F2E
monochromatic
#15041B #3A0A49 #65127F #901AB5 #B52BE1

Accessibility & contrast

On white

10.79
#65127F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#65127F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #65127F
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##65127F#FFFFFF#000000##FFFFFF
##65127F1.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003982
Deuteranopia (green-blind)
#0F407D
Tritanopia (blue-blind)
#632D4A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #65127f;
/* rgb */ color: rgb(101, 18, 127);
/* oklch */ color: oklch(38.5% 0.172 316.0);
Tailwind
colors: {
  custom: {
    50: '#955da5',
    500: '#65127f',
    950: '#000000',
  },
}
SCSS
$custom: #65127f;
$custom-light: #955da5;
$custom-dark: #000000;
JSON
{
  "hex": "#65127f",
  "rgb": {
    "r": 101,
    "g": 18,
    "b": 127
  },
  "hsl": {
    "h": 285.688,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38454,
    "c": 0.17186,
    "h": 316
  },
  "luminance": 0.04732
}

Semantic roles & 50–950 ramp

primary
#65127F
secondary
#56B538
accent
#F23663
background
#F9F5FA
surface
#F2E9F4
border
#CCC5CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #65127F

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

Preview Lab → · Contrast checker → · Palette generator →

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