#643EAF#643EAF

#643EAF is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.1% C 0.171 H 294.3°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#643EAF
RGBrgb(100, 62, 175)
HSLhsl(260, 48%, 46%)
HSVhsv(260, 65%, 69%)
CMYKcmyk(42.9%, 64.6%, 0%, 31.4%)
CIE-LABlab(36.46, 42.35, -54.63)
CIE-LCHlch(36.46, 69.12, 307.79°)
OKLaboklab(47.05% 0.0706 -0.156)
OKLCHoklch(47.05% 0.171 294.3)
XYZxyz(14.7139, 9.2493, 41.5592)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643EAF #89AF3E
analogous
#3E51AF #643EAF #9D3EAF
triadic
#643EAF #AF643E #3EAF64
tetradic
#643EAF #AF3E51 #89AF3E #3EAF9D
square
#643EAF #AF3E51 #89AF3E #3EAF9D
split-complementary
#643EAF #AF9D3E #51AF3E
monochromatic
#301E55 #4A2E82 #643EAF #8563C8 #A890D8

Accessibility & contrast

On white

7.37
#643EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#643EAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643EAF
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643EAF#FFFFFF#000000##FFFFFF
##643EAF1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B3
Deuteranopia (green-blind)
#0054AD
Tritanopia (blue-blind)
#505871
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #643eaf;
/* rgb */ color: rgb(100, 62, 175);
/* oklch */ color: oklch(47.1% 0.171 294.3);
Tailwind
colors: {
  custom: {
    50: '#9675c8',
    500: '#643eaf',
    950: '#000000',
  },
}
SCSS
$custom: #643eaf;
$custom-light: #9675c8;
$custom-dark: #000000;
JSON
{
  "hex": "#643eaf",
  "rgb": {
    "r": 100,
    "g": 62,
    "b": 175
  },
  "hsl": {
    "h": 260.177,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47051,
    "c": 0.17117,
    "h": 294.3
  },
  "luminance": 0.0925
}

Semantic roles & 50–950 ramp

primary
#643EAF
secondary
#AEC386
accent
#D751AA
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #643EAF

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

Preview Lab → · Contrast checker → · Palette generator →

#643EAF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva