#652BA8#652BA8

#652BA8 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.1% C 0.187 H 299.7°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#652BA8
RGBrgb(101, 43, 168)
HSLhsl(268, 59%, 41%)
HSVhsv(268, 74%, 66%)
CMYKcmyk(39.9%, 74.4%, 0%, 34.1%)
CIE-LABlab(32.53, 50.39, -56.83)
CIE-LCHlch(32.53, 75.96, 311.56°)
OKLaboklab(44.1% 0.0927 -0.1623)
OKLCHoklch(44.1% 0.187 299.7)
XYZxyz(13.2968, 7.3215, 37.7508)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652BA8 #6EA82B
analogous
#2B30A8 #652BA8 #A42BA8
triadic
#652BA8 #A8652B #2BA865
tetradic
#652BA8 #A82B30 #6EA82B #2BA8A4
square
#652BA8 #A82B30 #6EA82B #2BA8A4
split-complementary
#652BA8 #A8A42B #30A82B
monochromatic
#2A1247 #481F77 #652BA8 #8342CF #A372DB

Accessibility & contrast

On white

8.52
#652BA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#652BA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652BA8
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652BA8#FFFFFF#000000##FFFFFF
##652BA81.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAC
Deuteranopia (green-blind)
#004BA6
Tritanopia (blue-blind)
#554B67
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #652ba8;
/* rgb */ color: rgb(101, 43, 168);
/* oklch */ color: oklch(44.1% 0.187 299.7);
Tailwind
colors: {
  custom: {
    50: '#976ac3',
    500: '#652ba8',
    950: '#000000',
  },
}
SCSS
$custom: #652ba8;
$custom-light: #976ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#652ba8",
  "rgb": {
    "r": 101,
    "g": 43,
    "b": 168
  },
  "hsl": {
    "h": 267.84,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.44095,
    "c": 0.18695,
    "h": 299.7
  },
  "luminance": 0.07322
}

Semantic roles & 50–950 ramp

primary
#652BA8
secondary
#9AC26C
accent
#E2459A
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #652BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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