#6442EA#6442EA

#6442EA is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.6% C 0.236 H 284.0°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#6442EA
RGBrgb(100, 66, 234)
HSLhsl(252, 80%, 59%)
HSVhsv(252, 72%, 92%)
CMYKcmyk(57.3%, 71.8%, 0%, 8.2%)
CIE-LABlab(42.07, 56.93, -79.66)
CIE-LCHlch(42.07, 97.91, 305.55°)
OKLaboklab(52.56% 0.0572 -0.2294)
OKLCHoklch(52.56% 0.236 284)
XYZxyz(22.0505, 12.5449, 79.0854)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6442EA #C8EA42
analogous
#4274EA #6442EA #B842EA
triadic
#6442EA #EA6442 #42EA64
tetradic
#6442EA #EA4274 #C8EA42 #42EAB8
square
#6442EA #EA4274 #C8EA42 #42EAB8
split-complementary
#6442EA #EAB842 #74EA42
monochromatic
#2F12A0 #3F18D7 #6442EA #9179F0 #BEB0F6

Accessibility & contrast

On white

5.98
#6442EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#6442EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6442EA
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6442EA#FFFFFF#000000##FFFFFF
##6442EA1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068EF
Deuteranopia (green-blind)
#005EE7
Tritanopia (blue-blind)
#177092
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6442ea;
/* rgb */ color: rgb(100, 66, 234);
/* oklch */ color: oklch(52.6% 0.236 284.0);
Tailwind
colors: {
  custom: {
    50: '#9e7af2',
    500: '#6442ea',
    950: '#000000',
  },
}
SCSS
$custom: #6442ea;
$custom-light: #9e7af2;
$custom-dark: #000000;
JSON
{
  "hex": "#6442ea",
  "rgb": {
    "r": 100,
    "g": 66,
    "b": 234
  },
  "hsl": {
    "h": 252.143,
    "s": 80,
    "l": 58.824
  },
  "oklch": {
    "l": 0.5256,
    "c": 0.23647,
    "h": 284
  },
  "luminance": 0.12546
}

Semantic roles & 50–950 ramp

primary
#6442EA
secondary
#D8E5A3
accent
#F631CF
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#100917
muted
#7F7B85

Preview Lab

Preview with #6442EA

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

Preview Lab → · Contrast checker → · Palette generator →

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