#652289#652289

#652289 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.6% C 0.165 H 310.8°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#652289
RGBrgb(101, 34, 137)
HSLhsl(279, 60%, 34%)
HSVhsv(279, 75%, 54%)
CMYKcmyk(26.3%, 75.2%, 0%, 46.3%)
CIE-LABlab(28.69, 46.94, -44.13)
CIE-LCHlch(28.69, 64.42, 316.77°)
OKLaboklab(40.62% 0.1077 -0.1249)
OKLCHoklch(40.62% 0.165 310.8)
XYZxyz(10.4533, 5.7171, 24.2149)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652289 #468922
analogous
#312289 #652289 #892279
triadic
#652289 #896522 #228965
tetradic
#652289 #893122 #468922 #227989
square
#652289 #893122 #468922 #227989
split-complementary
#652289 #798922 #228931
monochromatic
#1D0A27 #411658 #652289 #892EBA #A651D4

Accessibility & contrast

On white

9.80
#652289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#652289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652289
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652289#FFFFFF#000000##FFFFFF
##6522891.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418C
Deuteranopia (green-blind)
#0E4587
Tritanopia (blue-blind)
#603954
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #652289;
/* rgb */ color: rgb(101, 34, 137);
/* oklch */ color: oklch(40.6% 0.165 310.8);
Tailwind
colors: {
  custom: {
    50: '#9564ac',
    500: '#652289',
    950: '#000000',
  },
}
SCSS
$custom: #652289;
$custom-light: #9564ac;
$custom-dark: #000000;
JSON
{
  "hex": "#652289",
  "rgb": {
    "r": 101,
    "g": 34,
    "b": 137
  },
  "hsl": {
    "h": 279.029,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.40615,
    "c": 0.16496,
    "h": 310.8
  },
  "luminance": 0.05717
}

Semantic roles & 50–950 ramp

primary
#652289
secondary
#74B84F
accent
#E3447C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #652289

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

Preview Lab → · Contrast checker → · Palette generator →

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