#642695#642695

#642695 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.9% C 0.172 H 305.5°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#642695
RGBrgb(100, 38, 149)
HSLhsl(274, 59%, 37%)
HSVhsv(274, 74%, 58%)
CMYKcmyk(32.9%, 74.5%, 0%, 41.6%)
CIE-LABlab(30.07, 47.79, -49.30)
CIE-LCHlch(30.07, 68.66, 314.11°)
OKLaboklab(41.86% 0.1001 -0.1402)
OKLCHoklch(41.86% 0.172 305.5)
XYZxyz(11.3723, 6.2656, 29.0382)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642695 #579526
analogous
#2D2695 #642695 #95268F
triadic
#642695 #956426 #269564
tetradic
#642695 #952D26 #579526 #268F95
square
#642695 #952D26 #579526 #268F95
split-complementary
#642695 #8F9526 #26952D
monochromatic
#230D33 #431A64 #642695 #8532C6 #A25FD6

Accessibility & contrast

On white

9.32
#642695 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#642695 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642695
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642695#FFFFFF#000000##FFFFFF
##6426951.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004598
Deuteranopia (green-blind)
#004793
Tritanopia (blue-blind)
#5B415B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #642695;
/* rgb */ color: rgb(100, 38, 149);
/* oklch */ color: oklch(41.9% 0.172 305.5);
Tailwind
colors: {
  custom: {
    50: '#9567b5',
    500: '#642695',
    950: '#000000',
  },
}
SCSS
$custom: #642695;
$custom-light: #9567b5;
$custom-dark: #000000;
JSON
{
  "hex": "#642695",
  "rgb": {
    "r": 100,
    "g": 38,
    "b": 149
  },
  "hsl": {
    "h": 273.514,
    "s": 59.358,
    "l": 36.667
  },
  "oklch": {
    "l": 0.41855,
    "c": 0.17227,
    "h": 305.5
  },
  "luminance": 0.06265
}

Semantic roles & 50–950 ramp

primary
#642695
secondary
#86BB5B
accent
#E3458B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #642695

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

Preview Lab → · Contrast checker → · Palette generator →

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