#643DAF#643DAF

#643DAF is a mid, vivid violet. Relative luminance 0.091; OKLCH L 46.9% C 0.173 H 294.5°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#643DAF
RGBrgb(100, 61, 175)
HSLhsl(261, 48%, 46%)
HSVhsv(261, 65%, 69%)
CMYKcmyk(42.9%, 65.1%, 0%, 31.4%)
CIE-LABlab(36.26, 42.91, -54.96)
CIE-LCHlch(36.26, 69.72, 307.98°)
OKLaboklab(46.9% 0.0717 -0.1569)
OKLCHoklch(46.9% 0.173 294.5)
XYZxyz(14.6601, 9.1416, 41.5412)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643DAF #88AF3D
analogous
#3D4FAF #643DAF #9D3DAF
triadic
#643DAF #AF643D #3DAF64
tetradic
#643DAF #AF3D4F #88AF3D #3DAF9D
square
#643DAF #AF3D4F #88AF3D #3DAF9D
split-complementary
#643DAF #AF9D3D #4FAF3D
monochromatic
#301D54 #4A2D82 #643DAF #8461C8 #A88FD8

Accessibility & contrast

On white

7.42
#643DAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#643DAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643DAF
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643DAF#FFFFFF#000000##FFFFFF
##643DAF1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B3
Deuteranopia (green-blind)
#0053AD
Tritanopia (blue-blind)
#505870
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #643daf;
/* rgb */ color: rgb(100, 61, 175);
/* oklch */ color: oklch(46.9% 0.173 294.5);
Tailwind
colors: {
  custom: {
    50: '#9675c8',
    500: '#643daf',
    950: '#000000',
  },
}
SCSS
$custom: #643daf;
$custom-light: #9675c8;
$custom-dark: #000000;
JSON
{
  "hex": "#643daf",
  "rgb": {
    "r": 100,
    "g": 61,
    "b": 175
  },
  "hsl": {
    "h": 260.526,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.46903,
    "c": 0.17252,
    "h": 294.5
  },
  "luminance": 0.09142
}

Semantic roles & 50–950 ramp

primary
#643DAF
secondary
#AEC385
accent
#D850A9
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #643DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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