#65127E#65127E

#65127E is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.4% C 0.171 H 316.4°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#65127E
RGBrgb(101, 18, 126)
HSLhsl(286, 75%, 28%)
HSVhsv(286, 86%, 49%)
CMYKcmyk(19.8%, 85.7%, 0%, 50.6%)
CIE-LABlab(25.88, 50.28, -41.77)
CIE-LCHlch(25.88, 65.36, 320.29°)
OKLaboklab(38.38% 0.1239 -0.1179)
OKLCHoklch(38.38% 0.171 316.4)
XYZxyz(9.3484, 4.7061, 20.1505)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#65127E #2B7E12
analogous
#2F127E #65127E #7E1261
triadic
#65127E #7E6512 #127E65
tetradic
#65127E #7E2F12 #2B7E12 #12617E
square
#65127E #7E2F12 #2B7E12 #12617E
split-complementary
#65127E #617E12 #127E2F
monochromatic
#15041B #3A0A48 #65127E #901AB4 #B62AE1

Accessibility & contrast

On white

10.82
#65127E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#65127E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #65127E
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##65127E#FFFFFF#000000##FFFFFF
##65127E1.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003981
Deuteranopia (green-blind)
#113F7C
Tritanopia (blue-blind)
#632D4A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #65127e;
/* rgb */ color: rgb(101, 18, 126);
/* oklch */ color: oklch(38.4% 0.171 316.4);
Tailwind
colors: {
  custom: {
    50: '#955da4',
    500: '#65127e',
    950: '#000000',
  },
}
SCSS
$custom: #65127e;
$custom-light: #955da4;
$custom-dark: #000000;
JSON
{
  "hex": "#65127e",
  "rgb": {
    "r": 101,
    "g": 18,
    "b": 126
  },
  "hsl": {
    "h": 286.111,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38376,
    "c": 0.17099,
    "h": 316.4
  },
  "luminance": 0.04706
}

Semantic roles & 50–950 ramp

primary
#65127E
secondary
#55B438
accent
#F23662
background
#F9F5FA
surface
#F2E9F4
border
#CCC5CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #65127E

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

Preview Lab → · Contrast checker → · Palette generator →

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