#652597#652597

#652597 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.0% C 0.176 H 305.5°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#652597
RGBrgb(101, 37, 151)
HSLhsl(274, 61%, 37%)
HSVhsv(274, 75%, 59%)
CMYKcmyk(33.1%, 75.5%, 0%, 40.8%)
CIE-LABlab(30.22, 48.90, -50.29)
CIE-LCHlch(30.22, 70.14, 314.20°)
OKLaboklab(42.04% 0.1021 -0.143)
OKLCHoklch(42.04% 0.176 305.5)
XYZxyz(11.6131, 6.3243, 29.8811)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652597 #579725
analogous
#2C2597 #652597 #972590
triadic
#652597 #976525 #259765
tetradic
#652597 #972C25 #579725 #259097
square
#652597 #972C25 #579725 #259097
split-complementary
#652597 #909725 #25972C
monochromatic
#230D35 #441966 #652597 #8631C8 #A35FD8

Accessibility & contrast

On white

9.27
#652597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#652597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652597
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652597#FFFFFF#000000##FFFFFF
##6525971.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459A
Deuteranopia (green-blind)
#004795
Tritanopia (blue-blind)
#5C415C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #652597;
/* rgb */ color: rgb(101, 37, 151);
/* oklch */ color: oklch(42.0% 0.176 305.5);
Tailwind
colors: {
  custom: {
    50: '#9666b6',
    500: '#652597',
    950: '#000000',
  },
}
SCSS
$custom: #652597;
$custom-light: #9666b6;
$custom-dark: #000000;
JSON
{
  "hex": "#652597",
  "rgb": {
    "r": 101,
    "g": 37,
    "b": 151
  },
  "hsl": {
    "h": 273.684,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42035,
    "c": 0.17577,
    "h": 305.5
  },
  "luminance": 0.06324
}

Semantic roles & 50–950 ramp

primary
#652597
secondary
#86BD5B
accent
#E4448A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #652597

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

Preview Lab → · Contrast checker → · Palette generator →

#652597 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva