#6442D5#6442D5

#6442D5 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 50.7% C 0.212 H 286.8°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#6442D5
RGBrgb(100, 66, 213)
HSLhsl(254, 64%, 55%)
HSVhsv(254, 69%, 84%)
CMYKcmyk(53.1%, 69%, 0%, 16.5%)
CIE-LABlab(40.26, 50.93, -70.64)
CIE-LCHlch(40.26, 87.09, 305.79°)
OKLaboklab(50.72% 0.0613 -0.203)
OKLCHoklch(50.72% 0.212 286.8)
XYZxyz(19.2104, 11.4089, 64.1278)
Luminance0.1141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6442D5 #B3D542
analogous
#4269D5 #6442D5 #AE42D5
triadic
#6442D5 #D56442 #42D564
tetradic
#6442D5 #D54269 #B3D542 #42D5AE
square
#6442D5 #D54269 #B3D542 #42D5AE
split-complementary
#6442D5 #D5AE42 #69D542
monochromatic
#341C80 #4828B2 #6442D5 #8D74E0 #B6A6EB

Accessibility & contrast

On white

6.40
#6442D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#6442D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6442D5
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6442D5#FFFFFF#000000##FFFFFF
##6442D51.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D9
Deuteranopia (green-blind)
#005BD2
Tritanopia (blue-blind)
#366887
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6442d5;
/* rgb */ color: rgb(100, 66, 213);
/* oklch */ color: oklch(50.7% 0.212 286.8);
Tailwind
colors: {
  custom: {
    50: '#9b79e3',
    500: '#6442d5',
    950: '#000000',
  },
}
SCSS
$custom: #6442d5;
$custom-light: #9b79e3;
$custom-dark: #000000;
JSON
{
  "hex": "#6442d5",
  "rgb": {
    "r": 100,
    "g": 66,
    "b": 213
  },
  "hsl": {
    "h": 253.878,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.5072,
    "c": 0.21207,
    "h": 286.8
  },
  "luminance": 0.1141
}

Semantic roles & 50–950 ramp

primary
#6442D5
secondary
#CAD89A
accent
#E741C0
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6442D5

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

Preview Lab → · Contrast checker → · Palette generator →

#6442D5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva