#652397#652397

#652397 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.8% C 0.178 H 305.8°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#652397
RGBrgb(101, 35, 151)
HSLhsl(274, 62%, 36%)
HSVhsv(274, 77%, 59%)
CMYKcmyk(33.1%, 76.8%, 0%, 40.8%)
CIE-LABlab(29.92, 49.75, -50.77)
CIE-LCHlch(29.92, 71.08, 314.42°)
OKLaboklab(41.83% 0.104 -0.1444)
OKLCHoklch(41.83% 0.178 305.8)
XYZxyz(11.5525, 6.2032, 29.8609)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652397 #559723
analogous
#2B2397 #652397 #97238F
triadic
#652397 #976523 #239765
tetradic
#652397 #972B23 #559723 #238F97
square
#652397 #972B23 #559723 #238F97
split-complementary
#652397 #8F9723 #23972B
monochromatic
#230C34 #441765 #652397 #862FC9 #A35BD9

Accessibility & contrast

On white

9.37
#652397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#652397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652397
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652397#FFFFFF#000000##FFFFFF
##6523971.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #652397;
/* rgb */ color: rgb(101, 35, 151);
/* oklch */ color: oklch(41.8% 0.178 305.8);
Tailwind
colors: {
  custom: {
    50: '#9665b6',
    500: '#652397',
    950: '#000000',
  },
}
SCSS
$custom: #652397;
$custom-light: #9665b6;
$custom-dark: #000000;
JSON
{
  "hex": "#652397",
  "rgb": {
    "r": 101,
    "g": 35,
    "b": 151
  },
  "hsl": {
    "h": 274.138,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.41826,
    "c": 0.17802,
    "h": 305.8
  },
  "luminance": 0.06203
}

Semantic roles & 50–950 ramp

primary
#652397
secondary
#84BE58
accent
#E54289
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #652397

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

Preview Lab → · Contrast checker → · Palette generator →

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