#642290#642290

#642290 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.0% C 0.172 H 307.7°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#642290
RGBrgb(100, 34, 144)
HSLhsl(276, 62%, 35%)
HSVhsv(276, 76%, 56%)
CMYKcmyk(30.6%, 76.4%, 0%, 43.5%)
CIE-LABlab(29.07, 48.34, -47.84)
CIE-LCHlch(29.07, 68.01, 315.30°)
OKLaboklab(41.03% 0.105 -0.1359)
OKLCHoklch(41.03% 0.172 307.7)
XYZxyz(10.8605, 5.8672, 26.9405)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642290 #4E9022
analogous
#2D2290 #642290 #902285
triadic
#642290 #906422 #229064
tetradic
#642290 #902D22 #4E9022 #228590
square
#642290 #902D22 #4E9022 #228590
split-complementary
#642290 #859022 #22902D
monochromatic
#1F0B2D #42165E #642290 #862EC2 #A355D7

Accessibility & contrast

On white

9.66
#642290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#642290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642290
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642290#FFFFFF#000000##FFFFFF
##6422901.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004293
Deuteranopia (green-blind)
#00458E
Tritanopia (blue-blind)
#5D3D57
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #642290;
/* rgb */ color: rgb(100, 34, 144);
/* oklch */ color: oklch(41.0% 0.172 307.7);
Tailwind
colors: {
  custom: {
    50: '#9564b1',
    500: '#642290',
    950: '#000000',
  },
}
SCSS
$custom: #642290;
$custom-light: #9564b1;
$custom-dark: #000000;
JSON
{
  "hex": "#642290",
  "rgb": {
    "r": 100,
    "g": 34,
    "b": 144
  },
  "hsl": {
    "h": 276,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.41027,
    "c": 0.17175,
    "h": 307.7
  },
  "luminance": 0.05867
}

Semantic roles & 50–950 ramp

primary
#642290
secondary
#7DBB53
accent
#E54384
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #642290

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

Preview Lab → · Contrast checker → · Palette generator →

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