#6E3FA3#6E3FA3

#6E3FA3 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.4% C 0.157 H 302.5°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#6E3FA3
RGBrgb(110, 63, 163)
HSLhsl(268, 44%, 44%)
HSVhsv(268, 61%, 64%)
CMYKcmyk(32.5%, 61.3%, 0%, 36.1%)
CIE-LABlab(36.96, 40.84, -46.61)
CIE-LCHlch(36.96, 61.97, 311.23°)
OKLaboklab(47.4% 0.084 -0.132)
OKLCHoklch(47.4% 0.157 302.5)
XYZxyz(14.8172, 9.5143, 35.6991)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E3FA3 #74A33F
analogous
#3F42A3 #6E3FA3 #A03FA3
triadic
#6E3FA3 #A36E3F #3FA36E
tetradic
#6E3FA3 #A33F42 #74A33F #3FA3A0
square
#6E3FA3 #A33F42 #74A33F #3FA3A0
split-complementary
#6E3FA3 #A3A03F #42A33F
monochromatic
#321D4B #502E77 #6E3FA3 #8D5EC1 #AC8AD2

Accessibility & contrast

On white

7.23
#6E3FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#6E3FA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E3FA3
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E3FA3#FFFFFF#000000##FFFFFF
##6E3FA31.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0356A6
Deuteranopia (green-blind)
#2357A1
Tritanopia (blue-blind)
#64546B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6e3fa3;
/* rgb */ color: rgb(110, 63, 163);
/* oklch */ color: oklch(47.4% 0.157 302.5);
Tailwind
colors: {
  custom: {
    50: '#9b76bf',
    500: '#6e3fa3',
    950: '#000000',
  },
}
SCSS
$custom: #6e3fa3;
$custom-light: #9b76bf;
$custom-dark: #000000;
JSON
{
  "hex": "#6e3fa3",
  "rgb": {
    "r": 110,
    "g": 63,
    "b": 163
  },
  "hsl": {
    "h": 268.2,
    "s": 44.248,
    "l": 44.314
  },
  "oklch": {
    "l": 0.47401,
    "c": 0.15651,
    "h": 302.5
  },
  "luminance": 0.09514
}

Semantic roles & 50–950 ramp

primary
#6E3FA3
secondary
#A1BD81
accent
#D45498
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0912
muted
#7E7B81

Preview Lab

Preview with #6E3FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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