#6442D2#6442D2

#6442D2 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.5% C 0.209 H 287.2°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#6442D2
RGBrgb(100, 66, 210)
HSLhsl(254, 62%, 54%)
HSVhsv(254, 69%, 82%)
CMYKcmyk(52.4%, 68.6%, 0%, 17.6%)
CIE-LABlab(40.01, 50.07, -69.32)
CIE-LCHlch(40.01, 85.51, 305.84°)
OKLaboklab(50.46% 0.0618 -0.1991)
OKLCHoklch(50.46% 0.209 287.2)
XYZxyz(18.8332, 11.2580, 62.1409)
Luminance0.1126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6442D2 #B0D242
analogous
#4268D2 #6442D2 #AC42D2
triadic
#6442D2 #D26442 #42D264
tetradic
#6442D2 #D24268 #B0D242 #42D2AC
square
#6442D2 #D24268 #B0D242 #42D2AC
split-complementary
#6442D2 #D2AC42 #68D242
monochromatic
#341E7C #4929AD #6442D2 #8D73DE #B5A5EA

Accessibility & contrast

On white

6.46
#6442D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#6442D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6442D2
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6442D2#FFFFFF#000000##FFFFFF
##6442D21.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D6
Deuteranopia (green-blind)
#005ACF
Tritanopia (blue-blind)
#396785
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6442d2;
/* rgb */ color: rgb(100, 66, 210);
/* oklch */ color: oklch(50.5% 0.209 287.2);
Tailwind
colors: {
  custom: {
    50: '#9a79e1',
    500: '#6442d2',
    950: '#000000',
  },
}
SCSS
$custom: #6442d2;
$custom-light: #9a79e1;
$custom-dark: #000000;
JSON
{
  "hex": "#6442d2",
  "rgb": {
    "r": 100,
    "g": 66,
    "b": 210
  },
  "hsl": {
    "h": 254.167,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.50464,
    "c": 0.20852,
    "h": 287.2
  },
  "luminance": 0.11259
}

Semantic roles & 50–950 ramp

primary
#6442D2
secondary
#C8D799
accent
#E543BF
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6442D2

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

Preview Lab → · Contrast checker → · Palette generator →

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