#6442C2#6442C2

#6442C2 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.1% C 0.189 H 289.8°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#6442C2
RGBrgb(100, 66, 194)
HSLhsl(256, 51%, 51%)
HSVhsv(256, 66%, 76%)
CMYKcmyk(48.5%, 66%, 0%, 23.9%)
CIE-LABlab(38.73, 45.49, -62.14)
CIE-LCHlch(38.73, 77.01, 306.21°)
OKLaboklab(49.14% 0.0642 -0.178)
OKLCHoklch(49.14% 0.189 289.8)
XYZxyz(16.9386, 10.5001, 52.1627)
Luminance0.1050 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6442C2 #A0C242
analogous
#4260C2 #6442C2 #A442C2
triadic
#6442C2 #C26442 #42C264
tetradic
#6442C2 #C24260 #A0C242 #42C2A4
square
#6442C2 #C24260 #A0C242 #42C2A4
split-complementary
#6442C2 #C2A442 #60C242
monochromatic
#342268 #4C3196 #6442C2 #8A70D1 #B09FE0

Accessibility & contrast

On white

6.77
#6442C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#6442C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6442C2
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6442C2#FFFFFF#000000##FFFFFF
##6442C21.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#0058BF
Tritanopia (blue-blind)
#45617C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6442c2;
/* rgb */ color: rgb(100, 66, 194);
/* oklch */ color: oklch(49.1% 0.189 289.8);
Tailwind
colors: {
  custom: {
    50: '#9878d5',
    500: '#6442c2',
    950: '#000000',
  },
}
SCSS
$custom: #6442c2;
$custom-light: #9878d5;
$custom-dark: #000000;
JSON
{
  "hex": "#6442c2",
  "rgb": {
    "r": 100,
    "g": 66,
    "b": 194
  },
  "hsl": {
    "h": 255.938,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.49141,
    "c": 0.18925,
    "h": 289.8
  },
  "luminance": 0.10501
}

Semantic roles & 50–950 ramp

primary
#6442C2
secondary
#BDCC94
accent
#DB4DB5
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #6442C2

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

Preview Lab → · Contrast checker → · Palette generator →

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