#652FB3#652FB3

#652FB3 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.5% C 0.194 H 296.4°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#652FB3
RGBrgb(101, 47, 179)
HSLhsl(265, 58%, 44%)
HSVhsv(265, 74%, 70%)
CMYKcmyk(43.6%, 73.7%, 0%, 29.8%)
CIE-LABlab(34.10, 51.35, -60.85)
CIE-LCHlch(34.10, 79.62, 310.16°)
OKLaboklab(45.49% 0.0866 -0.1741)
OKLCHoklch(45.49% 0.194 296.4)
XYZxyz(14.5179, 8.0541, 43.4288)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652FB3 #7DB32F
analogous
#2F3BB3 #652FB3 #A72FB3
triadic
#652FB3 #B3652F #2FB365
tetradic
#652FB3 #B32F3B #7DB32F #2FB3A7
square
#652FB3 #B32F3B #7DB32F #2FB3A7
split-complementary
#652FB3 #B3A72F #3BB32F
monochromatic
#2E1652 #4A2283 #652FB3 #844FD1 #A67FDD

Accessibility & contrast

On white

8.04
#652FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#652FB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652FB3
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652FB3#FFFFFF#000000##FFFFFF
##652FB31.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B7
Deuteranopia (green-blind)
#004EB0
Tritanopia (blue-blind)
#50516E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #652fb3;
/* rgb */ color: rgb(101, 47, 179);
/* oklch */ color: oklch(45.5% 0.194 296.4);
Tailwind
colors: {
  custom: {
    50: '#986dcb',
    500: '#652fb3',
    950: '#000000',
  },
}
SCSS
$custom: #652fb3;
$custom-light: #986dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#652fb3",
  "rgb": {
    "r": 101,
    "g": 47,
    "b": 179
  },
  "hsl": {
    "h": 264.545,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.45485,
    "c": 0.19447,
    "h": 296.4
  },
  "luminance": 0.08054
}

Semantic roles & 50–950 ramp

primary
#652FB3
secondary
#A6C678
accent
#E246A2
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #652FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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