#6E3EBA#6E3EBA

#6E3EBA is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.9% C 0.185 H 296.7°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#6E3EBA
RGBrgb(110, 62, 186)
HSLhsl(263, 50%, 49%)
HSVhsv(263, 67%, 73%)
CMYKcmyk(40.9%, 66.7%, 0%, 27.1%)
CIE-LABlab(38.38, 47.37, -57.96)
CIE-LCHlch(38.38, 74.86, 309.26°)
OKLaboklab(48.95% 0.0833 -0.1654)
OKLCHoklch(48.95% 0.185 296.7)
XYZxyz(17.0137, 10.3051, 47.5375)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E3EBA #8ABA3E
analogous
#3E4CBA #6E3EBA #AC3EBA
triadic
#6E3EBA #BA6E3E #3EBA6E
tetradic
#6E3EBA #BA3E4C #8ABA3E #3EBAAC
square
#6E3EBA #BA3E4C #8ABA3E #3EBAAC
split-complementary
#6E3EBA #BAAC3E #4CBA3E
monochromatic
#381F5E #532F8C #6E3EBA #8F68CD #B196DC

Accessibility & contrast

On white

6.86
#6E3EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#6E3EBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E3EBA
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E3EBA#FFFFFF#000000##FFFFFF
##6E3EBA1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#0059B7
Tritanopia (blue-blind)
#5B5B77
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6e3eba;
/* rgb */ color: rgb(110, 62, 186);
/* oklch */ color: oklch(48.9% 0.185 296.7);
Tailwind
colors: {
  custom: {
    50: '#9d76d0',
    500: '#6e3eba',
    950: '#000000',
  },
}
SCSS
$custom: #6e3eba;
$custom-light: #9d76d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6e3eba",
  "rgb": {
    "r": 110,
    "g": 62,
    "b": 186
  },
  "hsl": {
    "h": 263.226,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.4895,
    "c": 0.1852,
    "h": 296.7
  },
  "luminance": 0.10305
}

Semantic roles & 50–950 ramp

primary
#6E3EBA
secondary
#B1C88C
accent
#DA4EA4
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #6E3EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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