#651E8C#651E8C

#651E8C is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.5% C 0.172 H 310.1°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#651E8C
RGBrgb(101, 30, 140)
HSLhsl(279, 65%, 33%)
HSVhsv(279, 79%, 55%)
CMYKcmyk(27.9%, 78.6%, 0%, 45.1%)
CIE-LABlab(28.35, 49.23, -46.53)
CIE-LCHlch(28.35, 67.74, 316.61°)
OKLaboklab(40.45% 0.111 -0.132)
OKLCHoklch(40.45% 0.172 310.1)
XYZxyz(10.5638, 5.5889, 25.3281)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651E8C #458C1E
analogous
#2E1E8C #651E8C #8C1E7C
triadic
#651E8C #8C651E #1E8C65
tetradic
#651E8C #8C2E1E #458C1E #1E7C8C
square
#651E8C #8C2E1E #458C1E #1E7C8C
split-complementary
#651E8C #7C8C1E #1E8C2E
monochromatic
#1C0827 #41135A #651E8C #8929BE #A74CD9

Accessibility & contrast

On white

9.92
#651E8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#651E8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651E8C
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651E8C#FFFFFF#000000##FFFFFF
##651E8C1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408F
Deuteranopia (green-blind)
#00448A
Tritanopia (blue-blind)
#5F3954
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #651e8c;
/* rgb */ color: rgb(101, 30, 140);
/* oklch */ color: oklch(40.5% 0.172 310.1);
Tailwind
colors: {
  custom: {
    50: '#9562ae',
    500: '#651e8c',
    950: '#000000',
  },
}
SCSS
$custom: #651e8c;
$custom-light: #9562ae;
$custom-dark: #000000;
JSON
{
  "hex": "#651e8c",
  "rgb": {
    "r": 101,
    "g": 30,
    "b": 140
  },
  "hsl": {
    "h": 278.727,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.4045,
    "c": 0.17246,
    "h": 310.1
  },
  "luminance": 0.05589
}

Semantic roles & 50–950 ramp

primary
#651E8C
secondary
#73BB4B
accent
#E8407C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #651E8C

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

Preview Lab → · Contrast checker → · Palette generator →

#651E8C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva