#652E88#652E88

#652E88 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.0% C 0.148 H 309.6°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#652E88
RGBrgb(101, 46, 136)
HSLhsl(277, 49%, 36%)
HSVhsv(277, 66%, 53%)
CMYKcmyk(25.7%, 66.2%, 0%, 46.7%)
CIE-LABlab(30.64, 41.06, -40.36)
CIE-LCHlch(30.64, 57.57, 315.49°)
OKLaboklab(41.99% 0.0942 -0.1139)
OKLCHoklch(41.99% 0.148 309.6)
XYZxyz(10.7869, 6.4985, 23.9739)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652E88 #51882E
analogous
#382E88 #652E88 #882E7E
triadic
#652E88 #88652E #2E8865
tetradic
#652E88 #88382E #51882E #2E7E88
square
#652E88 #88382E #51882E #2E7E88
split-complementary
#652E88 #7E882E #2E8838
monochromatic
#210F2D #431F5A #652E88 #873DB6 #A365CB

Accessibility & contrast

On white

9.13
#652E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#652E88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652E88
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652E88#FFFFFF#000000##FFFFFF
##652E881.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468B
Deuteranopia (green-blind)
#214986
Tritanopia (blue-blind)
#604057
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #652e88;
/* rgb */ color: rgb(101, 46, 136);
/* oklch */ color: oklch(42.0% 0.148 309.6);
Tailwind
colors: {
  custom: {
    50: '#946aab',
    500: '#652e88',
    950: '#000000',
  },
}
SCSS
$custom: #652e88;
$custom-light: #946aab;
$custom-dark: #000000;
JSON
{
  "hex": "#652e88",
  "rgb": {
    "r": 101,
    "g": 46,
    "b": 136
  },
  "hsl": {
    "h": 276.667,
    "s": 49.451,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41987,
    "c": 0.14784,
    "h": 309.6
  },
  "luminance": 0.06498
}

Semantic roles & 50–950 ramp

primary
#652E88
secondary
#80B260
accent
#D94F85
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #652E88

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

Preview Lab → · Contrast checker → · Palette generator →

#652E88 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva