#642189#642189

#642189 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.4% C 0.166 H 310.3°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#642189
RGBrgb(100, 33, 137)
HSLhsl(279, 61%, 33%)
HSVhsv(279, 76%, 54%)
CMYKcmyk(27%, 75.9%, 0%, 46.3%)
CIE-LABlab(28.39, 47.16, -44.62)
CIE-LCHlch(28.39, 64.92, 316.59°)
OKLaboklab(40.37% 0.1074 -0.1264)
OKLCHoklch(40.37% 0.166 310.3)
XYZxyz(10.3139, 5.6034, 24.2003)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642189 #468921
analogous
#302189 #642189 #89217A
triadic
#642189 #896421 #218964
tetradic
#642189 #893021 #468921 #217A89
square
#642189 #893021 #468921 #217A89
split-complementary
#642189 #7A8921 #218930
monochromatic
#1C0926 #401558 #642189 #882DBA #A550D5

Accessibility & contrast

On white

9.90
#642189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#642189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642189
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642189#FFFFFF#000000##FFFFFF
##6421891.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408C
Deuteranopia (green-blind)
#094487
Tritanopia (blue-blind)
#5F3953
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #642189;
/* rgb */ color: rgb(100, 33, 137);
/* oklch */ color: oklch(40.4% 0.166 310.3);
Tailwind
colors: {
  custom: {
    50: '#9463ac',
    500: '#642189',
    950: '#000000',
  },
}
SCSS
$custom: #642189;
$custom-light: #9463ac;
$custom-dark: #000000;
JSON
{
  "hex": "#642189",
  "rgb": {
    "r": 100,
    "g": 33,
    "b": 137
  },
  "hsl": {
    "h": 278.654,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40373,
    "c": 0.16583,
    "h": 310.3
  },
  "luminance": 0.05603
}

Semantic roles & 50–950 ramp

primary
#642189
secondary
#74B84E
accent
#E4447D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #642189

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

Preview Lab → · Contrast checker → · Palette generator →

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