#642491#642491

#642491 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.3% C 0.170 H 307.1°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#642491
RGBrgb(100, 36, 145)
HSLhsl(275, 60%, 35%)
HSVhsv(275, 75%, 57%)
CMYKcmyk(31%, 75.2%, 0%, 43.1%)
CIE-LABlab(29.45, 47.72, -47.85)
CIE-LCHlch(29.45, 67.58, 314.92°)
OKLaboklab(41.32% 0.1029 -0.1359)
OKLCHoklch(41.32% 0.17 307.1)
XYZxyz(10.9961, 6.0155, 27.3644)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642491 #519124
analogous
#2D2491 #642491 #912487
triadic
#642491 #916424 #249164
tetradic
#642491 #912D24 #519124 #248791
square
#642491 #912D24 #519124 #248791
split-complementary
#642491 #879124 #24912D
monochromatic
#200C2F #421860 #642491 #8630C2 #A359D6

Accessibility & contrast

On white

9.53
#642491 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#642491 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642491
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642491#FFFFFF#000000##FFFFFF
##6424911.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004394
Deuteranopia (green-blind)
#00468F
Tritanopia (blue-blind)
#5C3E59
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #642491;
/* rgb */ color: rgb(100, 36, 145);
/* oklch */ color: oklch(41.3% 0.170 307.1);
Tailwind
colors: {
  custom: {
    50: '#9565b2',
    500: '#642491',
    950: '#000000',
  },
}
SCSS
$custom: #642491;
$custom-light: #9565b2;
$custom-dark: #000000;
JSON
{
  "hex": "#642491",
  "rgb": {
    "r": 100,
    "g": 36,
    "b": 145
  },
  "hsl": {
    "h": 275.229,
    "s": 60.221,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41317,
    "c": 0.17046,
    "h": 307.1
  },
  "luminance": 0.06015
}

Semantic roles & 50–950 ramp

primary
#642491
secondary
#80BA56
accent
#E34486
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #642491

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

Preview Lab → · Contrast checker → · Palette generator →

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