#642389#642389

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

Color values

HEX#642389
RGBrgb(100, 35, 137)
HSLhsl(278, 59%, 34%)
HSVhsv(278, 74%, 54%)
CMYKcmyk(27%, 74.5%, 0%, 46.3%)
CIE-LABlab(28.69, 46.30, -44.13)
CIE-LCHlch(28.69, 63.96, 316.38°)
OKLaboklab(40.59% 0.1053 -0.125)
OKLCHoklch(40.59% 0.163 310.1)
XYZxyz(10.3710, 5.7178, 24.2194)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642389 #488923
analogous
#312389 #642389 #89237B
triadic
#642389 #896423 #238964
tetradic
#642389 #893123 #488923 #237B89
square
#642389 #893123 #488923 #237B89
split-complementary
#642389 #7B8923 #238931
monochromatic
#1D0A28 #401758 #642389 #882FBA #A553D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##642389#FFFFFF#000000##FFFFFF
##6423891.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)
#5F3A54
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #642389;
/* rgb */ color: rgb(100, 35, 137);
/* oklch */ color: oklch(40.6% 0.163 310.1);
Tailwind
colors: {
  custom: {
    50: '#9464ac',
    500: '#642389',
    950: '#000000',
  },
}
SCSS
$custom: #642389;
$custom-light: #9464ac;
$custom-dark: #000000;
JSON
{
  "hex": "#642389",
  "rgb": {
    "r": 100,
    "g": 35,
    "b": 137
  },
  "hsl": {
    "h": 278.235,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.40585,
    "c": 0.16342,
    "h": 310.1
  },
  "luminance": 0.05718
}

Semantic roles & 50–950 ramp

primary
#642389
secondary
#76B751
accent
#E2457E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #642389

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

Preview Lab → · Contrast checker → · Palette generator →

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