#642693#642693

#642693 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.7% C 0.170 H 306.2°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#642693
RGBrgb(100, 38, 147)
HSLhsl(274, 59%, 36%)
HSVhsv(274, 74%, 58%)
CMYKcmyk(32%, 74.1%, 0%, 42.4%)
CIE-LABlab(29.92, 47.31, -48.32)
CIE-LCHlch(29.92, 67.63, 314.39°)
OKLaboklab(41.7% 0.1005 -0.1373)
OKLCHoklch(41.7% 0.17 306.2)
XYZxyz(11.2140, 6.2022, 28.2045)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642693 #559326
analogous
#2D2693 #642693 #93268C
triadic
#642693 #936426 #269364
tetradic
#642693 #932D26 #559326 #268C93
square
#642693 #932D26 #559326 #268C93
split-complementary
#642693 #8C9326 #26932D
monochromatic
#220D32 #431962 #642693 #8533C4 #A25ED5

Accessibility & contrast

On white

9.37
#642693 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#642693 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642693
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642693#FFFFFF#000000##FFFFFF
##6426931.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004596
Deuteranopia (green-blind)
#004791
Tritanopia (blue-blind)
#5C405A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #642693;
/* rgb */ color: rgb(100, 38, 147);
/* oklch */ color: oklch(41.7% 0.170 306.2);
Tailwind
colors: {
  custom: {
    50: '#9566b3',
    500: '#642693',
    950: '#000000',
  },
}
SCSS
$custom: #642693;
$custom-light: #9566b3;
$custom-dark: #000000;
JSON
{
  "hex": "#642693",
  "rgb": {
    "r": 100,
    "g": 38,
    "b": 147
  },
  "hsl": {
    "h": 274.128,
    "s": 58.919,
    "l": 36.275
  },
  "oklch": {
    "l": 0.41696,
    "c": 0.17017,
    "h": 306.2
  },
  "luminance": 0.06202
}

Semantic roles & 50–950 ramp

primary
#642693
secondary
#84BA5A
accent
#E24689
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #642693

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

Preview Lab → · Contrast checker → · Palette generator →

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