#6E4FA2#6E4FA2

#6E4FA2 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 49.9% C 0.130 H 298.9°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#6E4FA2
RGBrgb(110, 79, 162)
HSLhsl(262, 34%, 47%)
HSVhsv(262, 51%, 64%)
CMYKcmyk(32.1%, 51.2%, 0%, 36.5%)
CIE-LABlab(40.44, 31.35, -40.44)
CIE-LCHlch(40.44, 51.17, 307.79°)
OKLaboklab(49.94% 0.0628 -0.114)
OKLCHoklch(49.94% 0.13 298.9)
XYZxyz(15.7464, 11.5155, 35.5685)
Luminance0.1152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E4FA2 #83A24F
analogous
#4F59A2 #6E4FA2 #984FA2
triadic
#6E4FA2 #A26E4F #4FA26E
tetradic
#6E4FA2 #A24F59 #83A24F #4FA298
square
#6E4FA2 #A24F59 #83A24F #4FA298
split-complementary
#6E4FA2 #A2984F #59A24F
monochromatic
#362750 #523B79 #6E4FA2 #8E73BB #AF9CCF

Accessibility & contrast

On white

6.36
#6E4FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#6E4FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E4FA2
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E4FA2#FFFFFF#000000##FFFFFF
##6E4FA21.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325FA5
Deuteranopia (green-blind)
#3A5FA0
Tritanopia (blue-blind)
#635F71
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6e4fa2;
/* rgb */ color: rgb(110, 79, 162);
/* oklch */ color: oklch(49.9% 0.130 298.9);
Tailwind
colors: {
  custom: {
    50: '#9a81be',
    500: '#6e4fa2',
    950: '#000000',
  },
}
SCSS
$custom: #6e4fa2;
$custom-light: #9a81be;
$custom-dark: #000000;
JSON
{
  "hex": "#6e4fa2",
  "rgb": {
    "r": 110,
    "g": 79,
    "b": 162
  },
  "hsl": {
    "h": 262.41,
    "s": 34.44,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49944,
    "c": 0.13014,
    "h": 298.9
  },
  "luminance": 0.11516
}

Semantic roles & 50–950 ramp

primary
#6E4FA2
secondary
#ACBC91
accent
#CB5DA2
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #6E4FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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