#643DA2#643DA2

#643DA2 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 45.9% C 0.156 H 297.7°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#643DA2
RGBrgb(100, 61, 162)
HSLhsl(263, 45%, 44%)
HSVhsv(263, 62%, 64%)
CMYKcmyk(38.3%, 62.3%, 0%, 36.5%)
CIE-LABlab(35.31, 39.35, -48.71)
CIE-LCHlch(35.31, 62.62, 308.93°)
OKLaboklab(45.92% 0.0727 -0.1386)
OKLCHoklch(45.92% 0.156 297.7)
XYZxyz(13.4442, 8.6552, 35.1377)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643DA2 #7BA23D
analogous
#3D49A2 #643DA2 #963DA2
triadic
#643DA2 #A2643D #3DA264
tetradic
#643DA2 #A23D49 #7BA23D #3DA296
square
#643DA2 #A23D49 #7BA23D #3DA296
split-complementary
#643DA2 #A2963D #49A23D
monochromatic
#2D1C49 #492C76 #643DA2 #825BC1 #A487D2

Accessibility & contrast

On white

7.69
#643DA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#643DA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643DA2
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643DA2#FFFFFF#000000##FFFFFF
##643DA21.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A5
Deuteranopia (green-blind)
#0F52A0
Tritanopia (blue-blind)
#555369
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #643da2;
/* rgb */ color: rgb(100, 61, 162);
/* oklch */ color: oklch(45.9% 0.156 297.7);
Tailwind
colors: {
  custom: {
    50: '#9574be',
    500: '#643da2',
    950: '#000000',
  },
}
SCSS
$custom: #643da2;
$custom-light: #9574be;
$custom-dark: #000000;
JSON
{
  "hex": "#643da2",
  "rgb": {
    "r": 100,
    "g": 61,
    "b": 162
  },
  "hsl": {
    "h": 263.168,
    "s": 45.291,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4592,
    "c": 0.15649,
    "h": 297.7
  },
  "luminance": 0.08655
}

Semantic roles & 50–950 ramp

primary
#643DA2
secondary
#A4BC7E
accent
#D553A3
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #643DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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