#642690#642690

#642690 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.5% C 0.167 H 307.2°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#642690
RGBrgb(100, 38, 144)
HSLhsl(275, 58%, 36%)
HSVhsv(275, 74%, 56%)
CMYKcmyk(30.6%, 73.6%, 0%, 43.5%)
CIE-LABlab(29.69, 46.60, -46.85)
CIE-LCHlch(29.69, 66.08, 314.85°)
OKLaboklab(41.46% 0.101 -0.133)
OKLCHoklch(41.46% 0.167 307.2)
XYZxyz(10.9816, 6.1093, 26.9808)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642690 #529026
analogous
#2F2690 #642690 #902687
triadic
#642690 #906426 #269064
tetradic
#642690 #902F26 #529026 #268790
square
#642690 #902F26 #529026 #268790
split-complementary
#642690 #879026 #26902F
monochromatic
#210C2F #421960 #642690 #8633C0 #A25CD4

Accessibility & contrast

On white

9.45
#642690 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#642690 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642690
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642690#FFFFFF#000000##FFFFFF
##6426901.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004493
Deuteranopia (green-blind)
#00468E
Tritanopia (blue-blind)
#5D3F59
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #642690;
/* rgb */ color: rgb(100, 38, 144);
/* oklch */ color: oklch(41.5% 0.167 307.2);
Tailwind
colors: {
  custom: {
    50: '#9466b1',
    500: '#642690',
    950: '#000000',
  },
}
SCSS
$custom: #642690;
$custom-light: #9466b1;
$custom-dark: #000000;
JSON
{
  "hex": "#642690",
  "rgb": {
    "r": 100,
    "g": 38,
    "b": 144
  },
  "hsl": {
    "h": 275.094,
    "s": 58.242,
    "l": 35.686
  },
  "oklch": {
    "l": 0.4146,
    "c": 0.16701,
    "h": 307.2
  },
  "luminance": 0.06109
}

Semantic roles & 50–950 ramp

primary
#642690
secondary
#81B959
accent
#E14687
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #642690

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

Preview Lab → · Contrast checker → · Palette generator →

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