#652299#652299

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

Color values

HEX#652299
RGBrgb(101, 34, 153)
HSLhsl(274, 64%, 37%)
HSVhsv(274, 78%, 60%)
CMYKcmyk(34%, 77.8%, 0%, 40%)
CIE-LABlab(29.94, 50.63, -51.96)
CIE-LCHlch(29.94, 72.55, 314.25°)
OKLaboklab(41.89% 0.1045 -0.1479)
OKLCHoklch(41.89% 0.181 305.2)
XYZxyz(11.6873, 6.2107, 30.7139)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652299 #569922
analogous
#2A2299 #652299 #992292
triadic
#652299 #996522 #229965
tetradic
#652299 #992A22 #569922 #229299
square
#652299 #992A22 #569922 #229299
split-complementary
#652299 #929922 #22992A
monochromatic
#230C35 #441767 #652299 #862DCB #A35BDB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##652299#FFFFFF#000000##FFFFFF
##6522991.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)
#00459C
Deuteranopia (green-blind)
#004797
Tritanopia (blue-blind)
#5B405D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #652299;
/* rgb */ color: rgb(101, 34, 153);
/* oklch */ color: oklch(41.9% 0.181 305.2);
Tailwind
colors: {
  custom: {
    50: '#9665b8',
    500: '#652299',
    950: '#000000',
  },
}
SCSS
$custom: #652299;
$custom-light: #9665b8;
$custom-dark: #000000;
JSON
{
  "hex": "#652299",
  "rgb": {
    "r": 101,
    "g": 34,
    "b": 153
  },
  "hsl": {
    "h": 273.782,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4189,
    "c": 0.18113,
    "h": 305.2
  },
  "luminance": 0.06211
}

Semantic roles & 50–950 ramp

primary
#652299
secondary
#85BF58
accent
#E74189
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #652299

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

Preview Lab → · Contrast checker → · Palette generator →

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