#6E4EA2#6E4EA2

#6E4EA2 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 49.8% C 0.132 H 299.1°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#6E4EA2
RGBrgb(110, 78, 162)
HSLhsl(263, 35%, 47%)
HSVhsv(263, 52%, 64%)
CMYKcmyk(32.1%, 51.9%, 0%, 36.5%)
CIE-LABlab(40.20, 31.95, -40.81)
CIE-LCHlch(40.20, 51.83, 308.06°)
OKLaboklab(49.77% 0.0642 -0.1151)
OKLCHoklch(49.77% 0.132 299.1)
XYZxyz(15.6748, 11.3723, 35.5447)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E4EA2 #82A24E
analogous
#4E58A2 #6E4EA2 #984EA2
triadic
#6E4EA2 #A26E4E #4EA26E
tetradic
#6E4EA2 #A24E58 #82A24E #4EA298
square
#6E4EA2 #A24E58 #82A24E #4EA298
split-complementary
#6E4EA2 #A2984E #58A24E
monochromatic
#36264F #523A79 #6E4EA2 #8E72BB #AF9BCF

Accessibility & contrast

On white

6.41
#6E4EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#6E4EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E4EA2
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E4EA2#FFFFFF#000000##FFFFFF
##6E4EA21.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305FA5
Deuteranopia (green-blind)
#395EA0
Tritanopia (blue-blind)
#635E70
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6e4ea2;
/* rgb */ color: rgb(110, 78, 162);
/* oklch */ color: oklch(49.8% 0.132 299.1);
Tailwind
colors: {
  custom: {
    50: '#9a80be',
    500: '#6e4ea2',
    950: '#000000',
  },
}
SCSS
$custom: #6e4ea2;
$custom-light: #9a80be;
$custom-dark: #000000;
JSON
{
  "hex": "#6e4ea2",
  "rgb": {
    "r": 110,
    "g": 78,
    "b": 162
  },
  "hsl": {
    "h": 262.857,
    "s": 35,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49769,
    "c": 0.13177,
    "h": 299.1
  },
  "luminance": 0.11372
}

Semantic roles & 50–950 ramp

primary
#6E4EA2
secondary
#ABBC90
accent
#CB5DA1
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #6E4EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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