#6E42F4#6E42F4

#6E42F4 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.3% C 0.247 H 286.2°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#6E42F4
RGBrgb(110, 66, 244)
HSLhsl(255, 89%, 61%)
HSVhsv(255, 73%, 96%)
CMYKcmyk(54.9%, 73%, 0%, 4.3%)
CIE-LABlab(43.86, 61.07, -82.32)
CIE-LCHlch(43.86, 102.50, 306.57°)
OKLaboklab(54.31% 0.0689 -0.2369)
OKLCHoklch(54.31% 0.247 286.2)
XYZxyz(24.7029, 13.7417, 86.9212)
Luminance0.1374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E42F4 #C8F442
analogous
#426FF4 #6E42F4 #C742F4
triadic
#6E42F4 #F46E42 #42F46E
tetradic
#6E42F4 #F4426F #C8F442 #42F4C7
square
#6E42F4 #F4426F #C8F442 #42F4C7
split-complementary
#6E42F4 #F4C742 #6FF442
monochromatic
#340AB1 #440EEB #6E42F4 #9A7CF7 #C7B6FB

Accessibility & contrast

On white

5.60
#6E42F4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#6E42F4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E42F4
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E42F4#FFFFFF#000000##FFFFFF
##6E42F41.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CF9
Deuteranopia (green-blind)
#0062F1
Tritanopia (blue-blind)
#307398
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6e42f4;
/* rgb */ color: rgb(110, 66, 244);
/* oklch */ color: oklch(54.3% 0.247 286.2);
Tailwind
colors: {
  custom: {
    50: '#a47bf9',
    500: '#6e42f4',
    950: '#000000',
  },
}
SCSS
$custom: #6e42f4;
$custom-light: #a47bf9;
$custom-dark: #000000;
JSON
{
  "hex": "#6e42f4",
  "rgb": {
    "r": 110,
    "g": 66,
    "b": 244
  },
  "hsl": {
    "h": 254.831,
    "s": 89,
    "l": 60.784
  },
  "oklch": {
    "l": 0.54314,
    "c": 0.24674,
    "h": 286.2
  },
  "luminance": 0.13743
}

Semantic roles & 50–950 ramp

primary
#6E42F4
secondary
#DAEBA7
accent
#E600AD
background
#FBF7FF
surface
#F6EEFF
border
#D0C9D7
text
#110A17
muted
#807C85

Preview Lab

Preview with #6E42F4

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

Preview Lab → · Contrast checker → · Palette generator →

#6E42F4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva