#652DB3#652DB3

#652DB3 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.3% C 0.197 H 296.7°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#652DB3
RGBrgb(101, 45, 179)
HSLhsl(265, 60%, 44%)
HSVhsv(265, 75%, 70%)
CMYKcmyk(43.6%, 74.9%, 0%, 29.8%)
CIE-LABlab(33.77, 52.27, -61.38)
CIE-LCHlch(33.77, 80.62, 310.42°)
OKLaboklab(45.26% 0.0883 -0.1757)
OKLCHoklch(45.26% 0.197 296.7)
XYZxyz(14.4398, 7.8978, 43.4027)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652DB3 #7BB32D
analogous
#2D38B3 #652DB3 #A82DB3
triadic
#652DB3 #B3652D #2DB365
tetradic
#652DB3 #B32D38 #7BB32D #2DB3A8
square
#652DB3 #B32D38 #7BB32D #2DB3A8
split-complementary
#652DB3 #B3A82D #38B32D
monochromatic
#2E1451 #492182 #652DB3 #844BD2 #A57CDE

Accessibility & contrast

On white

8.14
#652DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#652DB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652DB3
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652DB3#FFFFFF#000000##FFFFFF
##652DB31.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B7
Deuteranopia (green-blind)
#004EB0
Tritanopia (blue-blind)
#50506E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #652db3;
/* rgb */ color: rgb(101, 45, 179);
/* oklch */ color: oklch(45.3% 0.197 296.7);
Tailwind
colors: {
  custom: {
    50: '#986ccb',
    500: '#652db3',
    950: '#000000',
  },
}
SCSS
$custom: #652db3;
$custom-light: #986ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#652db3",
  "rgb": {
    "r": 101,
    "g": 45,
    "b": 179
  },
  "hsl": {
    "h": 265.075,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45255,
    "c": 0.19666,
    "h": 296.7
  },
  "luminance": 0.07898
}

Semantic roles & 50–950 ramp

primary
#652DB3
secondary
#A5C775
accent
#E345A1
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #652DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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